Upload folder using huggingface_hub
Browse files- README.md +31 -0
- checkpoint-10/config.json +34 -0
- checkpoint-10/model.safetensors +3 -0
- checkpoint-10/optimizer.pt +3 -0
- checkpoint-10/rng_state.pth +3 -0
- checkpoint-10/scheduler.pt +3 -0
- checkpoint-10/trainer_state.json +177 -0
- checkpoint-10/training_args.bin +3 -0
- config.json +34 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- runs/Jul15_17-06-19_r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo/events.out.tfevents.1721063180.r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo.98.0 +2 -2
- runs/Jul15_17-06-19_r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo/events.out.tfevents.1721063192.r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo.98.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.32454729080200195
|
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-10/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": "maduras",
|
16 |
+
"1": "normales"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"maduras": 0,
|
22 |
+
"normales": 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.42.2"
|
34 |
+
}
|
checkpoint-10/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bafd93905a48bd8cf97dddb413ff62219998417b768dae17ea28a028e0e13db7
|
3 |
+
size 9080216
|
checkpoint-10/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63bb46a9ccdaceec2612db46931e5ec1ff3d3d4c3f8de89109c3ada069fd90b2
|
3 |
+
size 17939322
|
checkpoint-10/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d930ad2f04334baab7d36f8d6e5860b1998ad51fdc2c02c53192d595680f6037
|
3 |
+
size 13990
|
checkpoint-10/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1927c10173b643e7df22a5e8db1caf9d7b3d4cb0b8e825b825302f019d3952ee
|
3 |
+
size 1064
|
checkpoint-10/trainer_state.json
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.32454729080200195,
|
3 |
+
"best_model_checkpoint": "clasificacion-bananas/checkpoint-10",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.5,
|
13 |
+
"grad_norm": 17.483074188232422,
|
14 |
+
"learning_rate": 2.5e-05,
|
15 |
+
"loss": 0.6514,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"grad_norm": 17.71515464782715,
|
21 |
+
"learning_rate": 5e-05,
|
22 |
+
"loss": 0.699,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.0,
|
27 |
+
"eval_accuracy": 0.5,
|
28 |
+
"eval_auc": 0.0,
|
29 |
+
"eval_f1": 0.0,
|
30 |
+
"eval_loss": 0.6983617544174194,
|
31 |
+
"eval_precision": 0.0,
|
32 |
+
"eval_recall": 0.0,
|
33 |
+
"eval_runtime": 0.0756,
|
34 |
+
"eval_samples_per_second": 26.449,
|
35 |
+
"eval_steps_per_second": 13.225,
|
36 |
+
"step": 2
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.5,
|
40 |
+
"grad_norm": 18.718172073364258,
|
41 |
+
"learning_rate": 4.722222222222222e-05,
|
42 |
+
"loss": 0.7047,
|
43 |
+
"step": 3
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 2.0,
|
47 |
+
"grad_norm": 15.484118461608887,
|
48 |
+
"learning_rate": 4.4444444444444447e-05,
|
49 |
+
"loss": 0.6165,
|
50 |
+
"step": 4
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 2.0,
|
54 |
+
"eval_accuracy": 0.5,
|
55 |
+
"eval_auc": 1.0,
|
56 |
+
"eval_f1": 0.6666666666666666,
|
57 |
+
"eval_loss": 0.6035097241401672,
|
58 |
+
"eval_precision": 0.5,
|
59 |
+
"eval_recall": 1.0,
|
60 |
+
"eval_runtime": 0.0625,
|
61 |
+
"eval_samples_per_second": 31.982,
|
62 |
+
"eval_steps_per_second": 15.991,
|
63 |
+
"step": 4
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 2.5,
|
67 |
+
"grad_norm": 16.05043601989746,
|
68 |
+
"learning_rate": 4.166666666666667e-05,
|
69 |
+
"loss": 0.5776,
|
70 |
+
"step": 5
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 3.0,
|
74 |
+
"grad_norm": 16.094289779663086,
|
75 |
+
"learning_rate": 3.888888888888889e-05,
|
76 |
+
"loss": 0.6129,
|
77 |
+
"step": 6
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 3.0,
|
81 |
+
"eval_accuracy": 0.0,
|
82 |
+
"eval_auc": 0.0,
|
83 |
+
"eval_f1": 0.0,
|
84 |
+
"eval_loss": 0.7506046891212463,
|
85 |
+
"eval_precision": 0.0,
|
86 |
+
"eval_recall": 0.0,
|
87 |
+
"eval_runtime": 0.0622,
|
88 |
+
"eval_samples_per_second": 32.154,
|
89 |
+
"eval_steps_per_second": 16.077,
|
90 |
+
"step": 6
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 3.5,
|
94 |
+
"grad_norm": 14.702045440673828,
|
95 |
+
"learning_rate": 3.611111111111111e-05,
|
96 |
+
"loss": 0.5869,
|
97 |
+
"step": 7
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"epoch": 4.0,
|
101 |
+
"grad_norm": 15.221928596496582,
|
102 |
+
"learning_rate": 3.3333333333333335e-05,
|
103 |
+
"loss": 0.4532,
|
104 |
+
"step": 8
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 4.0,
|
108 |
+
"eval_accuracy": 0.0,
|
109 |
+
"eval_auc": 0.0,
|
110 |
+
"eval_f1": 0.0,
|
111 |
+
"eval_loss": 0.7223799824714661,
|
112 |
+
"eval_precision": 0.0,
|
113 |
+
"eval_recall": 0.0,
|
114 |
+
"eval_runtime": 0.0638,
|
115 |
+
"eval_samples_per_second": 31.339,
|
116 |
+
"eval_steps_per_second": 15.669,
|
117 |
+
"step": 8
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 4.5,
|
121 |
+
"grad_norm": 16.220394134521484,
|
122 |
+
"learning_rate": 3.055555555555556e-05,
|
123 |
+
"loss": 0.5442,
|
124 |
+
"step": 9
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 5.0,
|
128 |
+
"grad_norm": 15.754592895507812,
|
129 |
+
"learning_rate": 2.777777777777778e-05,
|
130 |
+
"loss": 0.4644,
|
131 |
+
"step": 10
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 5.0,
|
135 |
+
"eval_accuracy": 1.0,
|
136 |
+
"eval_auc": 1.0,
|
137 |
+
"eval_f1": 1.0,
|
138 |
+
"eval_loss": 0.32454729080200195,
|
139 |
+
"eval_precision": 1.0,
|
140 |
+
"eval_recall": 1.0,
|
141 |
+
"eval_runtime": 0.063,
|
142 |
+
"eval_samples_per_second": 31.741,
|
143 |
+
"eval_steps_per_second": 15.871,
|
144 |
+
"step": 10
|
145 |
+
}
|
146 |
+
],
|
147 |
+
"logging_steps": 1,
|
148 |
+
"max_steps": 20,
|
149 |
+
"num_input_tokens_seen": 0,
|
150 |
+
"num_train_epochs": 10,
|
151 |
+
"save_steps": 500,
|
152 |
+
"stateful_callbacks": {
|
153 |
+
"EarlyStoppingCallback": {
|
154 |
+
"args": {
|
155 |
+
"early_stopping_patience": 5,
|
156 |
+
"early_stopping_threshold": 0.01
|
157 |
+
},
|
158 |
+
"attributes": {
|
159 |
+
"early_stopping_patience_counter": 0
|
160 |
+
}
|
161 |
+
},
|
162 |
+
"TrainerControl": {
|
163 |
+
"args": {
|
164 |
+
"should_epoch_stop": false,
|
165 |
+
"should_evaluate": false,
|
166 |
+
"should_log": false,
|
167 |
+
"should_save": true,
|
168 |
+
"should_training_stop": false
|
169 |
+
},
|
170 |
+
"attributes": {}
|
171 |
+
}
|
172 |
+
},
|
173 |
+
"total_flos": 105056336609280.0,
|
174 |
+
"train_batch_size": 4,
|
175 |
+
"trial_name": null,
|
176 |
+
"trial_params": null
|
177 |
+
}
|
checkpoint-10/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f595f0a3b7d344b65bdcb5eec572a34c55b067fe4c87d74a112dc4fbba90a30e
|
3 |
+
size 5176
|
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": "maduras",
|
16 |
+
"1": "normales"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"maduras": 0,
|
22 |
+
"normales": 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.42.2"
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bafd93905a48bd8cf97dddb413ff62219998417b768dae17ea28a028e0e13db7
|
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/Jul15_17-06-19_r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo/events.out.tfevents.1721063180.r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo.98.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:181c914e8fa3a165d4551b98de4384b8ad9373fd07f752682d53a10a2bb9dbc4
|
3 |
+
size 14564
|
runs/Jul15_17-06-19_r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo/events.out.tfevents.1721063192.r-amiune-prueba-finetuning-6ambs8vf-f9659-du8vo.98.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa5d389051b4fd8d0c7af00f4536b5b1c20f64236d618f24a43abae09852fd30
|
3 |
+
size 597
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f595f0a3b7d344b65bdcb5eec572a34c55b067fe4c87d74a112dc4fbba90a30e
|
3 |
+
size 5176
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "clasificacion-bananas/autotrain-data",
|
3 |
+
"model": "google/mobilenet_v2_1.0_224",
|
4 |
+
"username": "amiune",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 10,
|
7 |
+
"batch_size": 4,
|
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": "clasificacion-bananas",
|
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 |
+
}
|