Upload folder using huggingface_hub
Browse files- README.md +32 -0
- checkpoint-12/config.json +34 -0
- checkpoint-12/model.safetensors +3 -0
- checkpoint-12/optimizer.pt +3 -0
- checkpoint-12/rng_state.pth +3 -0
- checkpoint-12/scheduler.pt +3 -0
- checkpoint-12/trainer_state.json +131 -0
- checkpoint-12/training_args.bin +3 -0
- config.json +34 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
widget:
|
7 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
8 |
+
example_title: Tiger
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
10 |
+
example_title: Teapot
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
12 |
+
example_title: Palace
|
13 |
+
datasets:
|
14 |
+
- autotrain-4hvd9-vjy72/autotrain-data
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: 0.557217538356781
|
23 |
+
|
24 |
+
f1: 0.8333333333333334
|
25 |
+
|
26 |
+
precision: 0.8333333333333334
|
27 |
+
|
28 |
+
recall: 0.8333333333333334
|
29 |
+
|
30 |
+
auc: 0.7222222222222223
|
31 |
+
|
32 |
+
accuracy: 0.8333333333333334
|
checkpoint-12/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": "cats",
|
16 |
+
"1": "dogs"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"cats": 0,
|
22 |
+
"dogs": 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.38.0"
|
34 |
+
}
|
checkpoint-12/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e995aa506c46fc731c45d50222aa1ddf067b0977f294456c0936aa1527003c59
|
3 |
+
size 9080216
|
checkpoint-12/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1be9fb822e6693029d10e2b11eb9e56c4d247713f4fda212d28316f7ad4f3591
|
3 |
+
size 17939322
|
checkpoint-12/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18f59f3b567ccca6d6b0e9779cf881b97378602d1eaa540117c8ca9bc59060b3
|
3 |
+
size 13990
|
checkpoint-12/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:703eea4812f54e382130b8a6015717e2bb1c7f3f2350cf0fe7194a916ceb8c5d
|
3 |
+
size 1064
|
checkpoint-12/trainer_state.json
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.557217538356781,
|
3 |
+
"best_model_checkpoint": "autotrain-4hvd9-vjy72/checkpoint-12",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 12,
|
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.17,
|
13 |
+
"grad_norm": 10.961004257202148,
|
14 |
+
"learning_rate": 2.5e-05,
|
15 |
+
"loss": 0.6155,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.33,
|
20 |
+
"grad_norm": 12.00222110748291,
|
21 |
+
"learning_rate": 5e-05,
|
22 |
+
"loss": 0.7435,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.5,
|
27 |
+
"grad_norm": 11.327479362487793,
|
28 |
+
"learning_rate": 4.6875e-05,
|
29 |
+
"loss": 0.6687,
|
30 |
+
"step": 3
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.67,
|
34 |
+
"grad_norm": 11.593400955200195,
|
35 |
+
"learning_rate": 4.375e-05,
|
36 |
+
"loss": 0.7891,
|
37 |
+
"step": 4
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.83,
|
41 |
+
"grad_norm": 12.357494354248047,
|
42 |
+
"learning_rate": 4.0625000000000005e-05,
|
43 |
+
"loss": 0.807,
|
44 |
+
"step": 5
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.0,
|
48 |
+
"grad_norm": 13.488415718078613,
|
49 |
+
"learning_rate": 3.7500000000000003e-05,
|
50 |
+
"loss": 0.8708,
|
51 |
+
"step": 6
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.0,
|
55 |
+
"eval_accuracy": 0.75,
|
56 |
+
"eval_auc": 0.7777777777777778,
|
57 |
+
"eval_f1": 0.6666666666666666,
|
58 |
+
"eval_loss": 0.6137447953224182,
|
59 |
+
"eval_precision": 1.0,
|
60 |
+
"eval_recall": 0.5,
|
61 |
+
"eval_runtime": 1.5422,
|
62 |
+
"eval_samples_per_second": 7.781,
|
63 |
+
"eval_steps_per_second": 0.648,
|
64 |
+
"step": 6
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 1.17,
|
68 |
+
"grad_norm": 10.660755157470703,
|
69 |
+
"learning_rate": 3.4375e-05,
|
70 |
+
"loss": 0.6756,
|
71 |
+
"step": 7
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 1.33,
|
75 |
+
"grad_norm": 11.80433177947998,
|
76 |
+
"learning_rate": 3.125e-05,
|
77 |
+
"loss": 0.6947,
|
78 |
+
"step": 8
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 1.5,
|
82 |
+
"grad_norm": 10.440864562988281,
|
83 |
+
"learning_rate": 2.8125000000000003e-05,
|
84 |
+
"loss": 0.6132,
|
85 |
+
"step": 9
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 1.67,
|
89 |
+
"grad_norm": 10.805739402770996,
|
90 |
+
"learning_rate": 2.5e-05,
|
91 |
+
"loss": 0.6599,
|
92 |
+
"step": 10
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.83,
|
96 |
+
"grad_norm": 10.385276794433594,
|
97 |
+
"learning_rate": 2.1875e-05,
|
98 |
+
"loss": 0.5813,
|
99 |
+
"step": 11
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 2.0,
|
103 |
+
"grad_norm": 12.13255500793457,
|
104 |
+
"learning_rate": 1.8750000000000002e-05,
|
105 |
+
"loss": 0.7999,
|
106 |
+
"step": 12
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 2.0,
|
110 |
+
"eval_accuracy": 0.8333333333333334,
|
111 |
+
"eval_auc": 0.7222222222222223,
|
112 |
+
"eval_f1": 0.8333333333333334,
|
113 |
+
"eval_loss": 0.557217538356781,
|
114 |
+
"eval_precision": 0.8333333333333334,
|
115 |
+
"eval_recall": 0.8333333333333334,
|
116 |
+
"eval_runtime": 0.807,
|
117 |
+
"eval_samples_per_second": 14.869,
|
118 |
+
"eval_steps_per_second": 1.239,
|
119 |
+
"step": 12
|
120 |
+
}
|
121 |
+
],
|
122 |
+
"logging_steps": 1,
|
123 |
+
"max_steps": 18,
|
124 |
+
"num_input_tokens_seen": 0,
|
125 |
+
"num_train_epochs": 3,
|
126 |
+
"save_steps": 500,
|
127 |
+
"total_flos": 252135207862272.0,
|
128 |
+
"train_batch_size": 8,
|
129 |
+
"trial_name": null,
|
130 |
+
"trial_params": null
|
131 |
+
}
|
checkpoint-12/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47b0685df60592841967e714105561dc2dfab8d4391c09e8aef74c95579ec17b
|
3 |
+
size 4920
|
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": "cats",
|
16 |
+
"1": "dogs"
|
17 |
+
},
|
18 |
+
"image_size": 224,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"cats": 0,
|
22 |
+
"dogs": 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.38.0"
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e995aa506c46fc731c45d50222aa1ddf067b0977f294456c0936aa1527003c59
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47b0685df60592841967e714105561dc2dfab8d4391c09e8aef74c95579ec17b
|
3 |
+
size 4920
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "autotrain-4hvd9-vjy72/autotrain-data",
|
3 |
+
"model": "google/mobilenet_v2_1.0_224",
|
4 |
+
"username": "cannu",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 3,
|
7 |
+
"batch_size": 8,
|
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": "autotrain-4hvd9-vjy72",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": null,
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"save_strategy": "epoch",
|
23 |
+
"push_to_hub": true,
|
24 |
+
"repo_id": "cannu/autotrain-4hvd9-vjy72",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|