emiialvarez
commited on
Commit
•
73503b2
1
Parent(s):
77887ff
Upload folder using huggingface_hub
Browse files- README.md +31 -0
- checkpoint-7/config.json +34 -0
- checkpoint-7/model.safetensors +3 -0
- checkpoint-7/optimizer.pt +3 -0
- checkpoint-7/rng_state.pth +3 -0
- checkpoint-7/scheduler.pt +3 -0
- checkpoint-7/trainer_state.json +182 -0
- checkpoint-7/training_args.bin +3 -0
- config.json +34 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- runs/Nov08_09-46-48_r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk/events.out.tfevents.1731059210.r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk.212.0 +2 -2
- runs/Nov08_09-46-48_r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk/events.out.tfevents.1731059221.r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk.212.1 +3 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: google/mobilenet_v2_1.0_224
|
7 |
+
widget:
|
8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
9 |
+
example_title: Tiger
|
10 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
11 |
+
example_title: Teapot
|
12 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
13 |
+
example_title: Palace
|
14 |
+
---
|
15 |
+
|
16 |
+
# Model Trained Using AutoTrain
|
17 |
+
|
18 |
+
- Problem type: Image Classification
|
19 |
+
|
20 |
+
## Validation Metrics
|
21 |
+
loss: 0.6193200349807739
|
22 |
+
|
23 |
+
f1: 1.0
|
24 |
+
|
25 |
+
precision: 1.0
|
26 |
+
|
27 |
+
recall: 1.0
|
28 |
+
|
29 |
+
auc: 1.0
|
30 |
+
|
31 |
+
accuracy: 1.0
|
checkpoint-7/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v2_1.0_224",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"MobileNetV2ForImageClassification"
|
6 |
+
],
|
7 |
+
"classifier_dropout_prob": 0.2,
|
8 |
+
"depth_divisible_by": 8,
|
9 |
+
"depth_multiplier": 1.0,
|
10 |
+
"expand_ratio": 6,
|
11 |
+
"finegrained_output": true,
|
12 |
+
"first_layer_is_expansion": true,
|
13 |
+
"hidden_act": "relu6",
|
14 |
+
"id2label": {
|
15 |
+
"0": "madura",
|
16 |
+
"1": "nomadura"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"madura": 0,
|
22 |
+
"nomadura": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 0.001,
|
25 |
+
"min_depth": 8,
|
26 |
+
"model_type": "mobilenet_v2",
|
27 |
+
"num_channels": 3,
|
28 |
+
"output_stride": 32,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
+
"semantic_loss_ignore_index": 255,
|
31 |
+
"tf_padding": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.46.2"
|
34 |
+
}
|
checkpoint-7/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4b4c866f7f77dd33bfa1e176110e4cd23ea78973795ff8061688763cdc67cdd
|
3 |
+
size 9080216
|
checkpoint-7/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6f8580c178d83fbe4f4a4ef32a9da908b13a670835b0d04d449a1cbf47ee706
|
3 |
+
size 17939322
|
checkpoint-7/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62a5666db5449d6d3ea1c622e7dcfa229522804d8111c66e79bf8ca293891ea3
|
3 |
+
size 13990
|
checkpoint-7/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d900afcf203e7babf78b3618af2c602a823d1b469847e3023a1e97651b0a3323
|
3 |
+
size 1064
|
checkpoint-7/trainer_state.json
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.6193200349807739,
|
3 |
+
"best_model_checkpoint": "banana-classificator/checkpoint-7",
|
4 |
+
"epoch": 7.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 7,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 14.348304748535156,
|
14 |
+
"learning_rate": 5e-05,
|
15 |
+
"loss": 0.7006,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.5,
|
21 |
+
"eval_auc": 0.0,
|
22 |
+
"eval_f1": 0.0,
|
23 |
+
"eval_loss": 0.7023754119873047,
|
24 |
+
"eval_precision": 0.0,
|
25 |
+
"eval_recall": 0.0,
|
26 |
+
"eval_runtime": 0.077,
|
27 |
+
"eval_samples_per_second": 25.969,
|
28 |
+
"eval_steps_per_second": 12.984,
|
29 |
+
"step": 1
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.0,
|
33 |
+
"grad_norm": 13.228832244873047,
|
34 |
+
"learning_rate": 4.2857142857142856e-05,
|
35 |
+
"loss": 0.7335,
|
36 |
+
"step": 2
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 2.0,
|
40 |
+
"eval_accuracy": 0.5,
|
41 |
+
"eval_auc": 1.0,
|
42 |
+
"eval_f1": 0.6666666666666666,
|
43 |
+
"eval_loss": 0.7351648807525635,
|
44 |
+
"eval_precision": 0.5,
|
45 |
+
"eval_recall": 1.0,
|
46 |
+
"eval_runtime": 0.0763,
|
47 |
+
"eval_samples_per_second": 26.212,
|
48 |
+
"eval_steps_per_second": 13.106,
|
49 |
+
"step": 2
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 3.0,
|
53 |
+
"grad_norm": 13.188136100769043,
|
54 |
+
"learning_rate": 3.571428571428572e-05,
|
55 |
+
"loss": 0.7171,
|
56 |
+
"step": 3
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.0,
|
60 |
+
"eval_accuracy": 0.5,
|
61 |
+
"eval_auc": 0.0,
|
62 |
+
"eval_f1": 0.6666666666666666,
|
63 |
+
"eval_loss": 0.6849433779716492,
|
64 |
+
"eval_precision": 0.5,
|
65 |
+
"eval_recall": 1.0,
|
66 |
+
"eval_runtime": 0.0698,
|
67 |
+
"eval_samples_per_second": 28.66,
|
68 |
+
"eval_steps_per_second": 14.33,
|
69 |
+
"step": 3
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 4.0,
|
73 |
+
"grad_norm": 11.3985013961792,
|
74 |
+
"learning_rate": 2.857142857142857e-05,
|
75 |
+
"loss": 0.5575,
|
76 |
+
"step": 4
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 4.0,
|
80 |
+
"eval_accuracy": 0.5,
|
81 |
+
"eval_auc": 1.0,
|
82 |
+
"eval_f1": 0.6666666666666666,
|
83 |
+
"eval_loss": 0.6594089269638062,
|
84 |
+
"eval_precision": 0.5,
|
85 |
+
"eval_recall": 1.0,
|
86 |
+
"eval_runtime": 0.071,
|
87 |
+
"eval_samples_per_second": 28.165,
|
88 |
+
"eval_steps_per_second": 14.082,
|
89 |
+
"step": 4
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 5.0,
|
93 |
+
"grad_norm": 10.833952903747559,
|
94 |
+
"learning_rate": 2.1428571428571428e-05,
|
95 |
+
"loss": 0.5536,
|
96 |
+
"step": 5
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 5.0,
|
100 |
+
"eval_accuracy": 1.0,
|
101 |
+
"eval_auc": 1.0,
|
102 |
+
"eval_f1": 1.0,
|
103 |
+
"eval_loss": 0.6393077373504639,
|
104 |
+
"eval_precision": 1.0,
|
105 |
+
"eval_recall": 1.0,
|
106 |
+
"eval_runtime": 0.0675,
|
107 |
+
"eval_samples_per_second": 29.649,
|
108 |
+
"eval_steps_per_second": 14.824,
|
109 |
+
"step": 5
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 6.0,
|
113 |
+
"grad_norm": 8.14575481414795,
|
114 |
+
"learning_rate": 1.4285714285714285e-05,
|
115 |
+
"loss": 0.3808,
|
116 |
+
"step": 6
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 6.0,
|
120 |
+
"eval_accuracy": 1.0,
|
121 |
+
"eval_auc": 1.0,
|
122 |
+
"eval_f1": 1.0,
|
123 |
+
"eval_loss": 0.6294888257980347,
|
124 |
+
"eval_precision": 1.0,
|
125 |
+
"eval_recall": 1.0,
|
126 |
+
"eval_runtime": 0.0717,
|
127 |
+
"eval_samples_per_second": 27.9,
|
128 |
+
"eval_steps_per_second": 13.95,
|
129 |
+
"step": 6
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 7.0,
|
133 |
+
"grad_norm": 7.075514793395996,
|
134 |
+
"learning_rate": 7.142857142857143e-06,
|
135 |
+
"loss": 0.327,
|
136 |
+
"step": 7
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 7.0,
|
140 |
+
"eval_accuracy": 1.0,
|
141 |
+
"eval_auc": 1.0,
|
142 |
+
"eval_f1": 1.0,
|
143 |
+
"eval_loss": 0.6193200349807739,
|
144 |
+
"eval_precision": 1.0,
|
145 |
+
"eval_recall": 1.0,
|
146 |
+
"eval_runtime": 0.0748,
|
147 |
+
"eval_samples_per_second": 26.736,
|
148 |
+
"eval_steps_per_second": 13.368,
|
149 |
+
"step": 7
|
150 |
+
}
|
151 |
+
],
|
152 |
+
"logging_steps": 1,
|
153 |
+
"max_steps": 8,
|
154 |
+
"num_input_tokens_seen": 0,
|
155 |
+
"num_train_epochs": 8,
|
156 |
+
"save_steps": 500,
|
157 |
+
"stateful_callbacks": {
|
158 |
+
"EarlyStoppingCallback": {
|
159 |
+
"args": {
|
160 |
+
"early_stopping_patience": 5,
|
161 |
+
"early_stopping_threshold": 0.01
|
162 |
+
},
|
163 |
+
"attributes": {
|
164 |
+
"early_stopping_patience_counter": 0
|
165 |
+
}
|
166 |
+
},
|
167 |
+
"TrainerControl": {
|
168 |
+
"args": {
|
169 |
+
"should_epoch_stop": false,
|
170 |
+
"should_evaluate": false,
|
171 |
+
"should_log": false,
|
172 |
+
"should_save": true,
|
173 |
+
"should_training_stop": false
|
174 |
+
},
|
175 |
+
"attributes": {}
|
176 |
+
}
|
177 |
+
},
|
178 |
+
"total_flos": 147078871252992.0,
|
179 |
+
"train_batch_size": 10,
|
180 |
+
"trial_name": null,
|
181 |
+
"trial_params": null
|
182 |
+
}
|
checkpoint-7/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfdba3b50c76a3ba26f4ce47de52ddc95d050d36d382498e3a1653cd339fb030
|
3 |
+
size 5304
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v2_1.0_224",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"MobileNetV2ForImageClassification"
|
6 |
+
],
|
7 |
+
"classifier_dropout_prob": 0.2,
|
8 |
+
"depth_divisible_by": 8,
|
9 |
+
"depth_multiplier": 1.0,
|
10 |
+
"expand_ratio": 6,
|
11 |
+
"finegrained_output": true,
|
12 |
+
"first_layer_is_expansion": true,
|
13 |
+
"hidden_act": "relu6",
|
14 |
+
"id2label": {
|
15 |
+
"0": "madura",
|
16 |
+
"1": "nomadura"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"madura": 0,
|
22 |
+
"nomadura": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 0.001,
|
25 |
+
"min_depth": 8,
|
26 |
+
"model_type": "mobilenet_v2",
|
27 |
+
"num_channels": 3,
|
28 |
+
"output_stride": 32,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
+
"semantic_loss_ignore_index": 255,
|
31 |
+
"tf_padding": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.46.2"
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4b4c866f7f77dd33bfa1e176110e4cd23ea78973795ff8061688763cdc67cdd
|
3 |
+
size 9080216
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_normalize": true,
|
8 |
+
"do_rescale": true,
|
9 |
+
"do_resize": true,
|
10 |
+
"image_mean": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"image_processor_type": "MobileNetV2ImageProcessor",
|
16 |
+
"image_std": [
|
17 |
+
0.5,
|
18 |
+
0.5,
|
19 |
+
0.5
|
20 |
+
],
|
21 |
+
"resample": 2,
|
22 |
+
"rescale_factor": 0.00392156862745098,
|
23 |
+
"size": {
|
24 |
+
"shortest_edge": 256
|
25 |
+
}
|
26 |
+
}
|
runs/Nov08_09-46-48_r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk/events.out.tfevents.1731059210.r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk.212.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:273ba824048d85d4f7e30593e0bc5390e417b09d570efd3794b1adaff0fea72f
|
3 |
+
size 11265
|
runs/Nov08_09-46-48_r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk/events.out.tfevents.1731059221.r-emiialvarez-autotrain-85spvup4-ecfe2-rvabk.212.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e98813c34d7d903e538899b959188439c8debeb69bccd640dbe46139008ebba
|
3 |
+
size 597
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfdba3b50c76a3ba26f4ce47de52ddc95d050d36d382498e3a1653cd339fb030
|
3 |
+
size 5304
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "banana-classificator/autotrain-data",
|
3 |
+
"model": "google/mobilenet_v2_1.0_224",
|
4 |
+
"username": "emiialvarez",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 8,
|
7 |
+
"batch_size": 10,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "banana-classificator",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "none",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"eval_strategy": "epoch",
|
24 |
+
"image_column": "autotrain_image",
|
25 |
+
"target_column": "autotrain_label",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"early_stopping_patience": 5,
|
28 |
+
"early_stopping_threshold": 0.01
|
29 |
+
}
|