Upload folder using huggingface_hub
Browse files- README.md +32 -0
- checkpoint-3/config.json +28 -0
- checkpoint-3/model.safetensors +3 -0
- checkpoint-3/optimizer.pt +3 -0
- checkpoint-3/rng_state.pth +3 -0
- checkpoint-3/scheduler.pt +3 -0
- checkpoint-3/trainer_state.json +81 -0
- checkpoint-3/training_args.bin +3 -0
- config.json +28 -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-jdhm5-q26ec/autotrain-data
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: 0.6047379970550537
|
23 |
+
|
24 |
+
f1: 0.6666666666666666
|
25 |
+
|
26 |
+
precision: 0.5
|
27 |
+
|
28 |
+
recall: 1.0
|
29 |
+
|
30 |
+
auc: 1.0
|
31 |
+
|
32 |
+
accuracy: 0.5
|
checkpoint-3/config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v1_0.75_192",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"MobileNetV1ForImageClassification"
|
6 |
+
],
|
7 |
+
"classifier_dropout_prob": 0.001,
|
8 |
+
"depth_multiplier": 0.75,
|
9 |
+
"hidden_act": "relu6",
|
10 |
+
"id2label": {
|
11 |
+
"0": "madura",
|
12 |
+
"1": "normal"
|
13 |
+
},
|
14 |
+
"image_size": 192,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"madura": 0,
|
18 |
+
"normal": 1
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 0.001,
|
21 |
+
"min_depth": 8,
|
22 |
+
"model_type": "mobilenet_v1",
|
23 |
+
"num_channels": 3,
|
24 |
+
"problem_type": "single_label_classification",
|
25 |
+
"tf_padding": true,
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.38.0"
|
28 |
+
}
|
checkpoint-3/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94d6e3cf83cf845266b6e142753ea0b5c4097710ea4979e9b1356be582e31829
|
3 |
+
size 7356136
|
checkpoint-3/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:111376c2bc3b6ff6d81a9e738d44644e732b87c26bcd5b2742da6fca5af2dd44
|
3 |
+
size 14612026
|
checkpoint-3/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02a78c5d96aa24ba055d0b1aff8076eff4952978a78e5dea3ea6c7b0d042cdf8
|
3 |
+
size 13990
|
checkpoint-3/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8a41b254d981983d12a5d0bed17f4768863ab9648e2daeb9b71c409365e3b73
|
3 |
+
size 1064
|
checkpoint-3/trainer_state.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.6047379970550537,
|
3 |
+
"best_model_checkpoint": "autotrain-jdhm5-q26ec/checkpoint-3",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3,
|
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": 9.633369445800781,
|
14 |
+
"learning_rate": 5e-05,
|
15 |
+
"loss": 0.8554,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.5,
|
21 |
+
"eval_auc": 0.0,
|
22 |
+
"eval_f1": 0.6666666666666666,
|
23 |
+
"eval_loss": 0.9051942229270935,
|
24 |
+
"eval_precision": 0.5,
|
25 |
+
"eval_recall": 1.0,
|
26 |
+
"eval_runtime": 0.2797,
|
27 |
+
"eval_samples_per_second": 7.149,
|
28 |
+
"eval_steps_per_second": 3.575,
|
29 |
+
"step": 1
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.0,
|
33 |
+
"grad_norm": 8.914290428161621,
|
34 |
+
"learning_rate": 2.5e-05,
|
35 |
+
"loss": 0.7598,
|
36 |
+
"step": 2
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 2.0,
|
40 |
+
"eval_accuracy": 0.0,
|
41 |
+
"eval_auc": 0.0,
|
42 |
+
"eval_f1": 0.0,
|
43 |
+
"eval_loss": 0.7822370529174805,
|
44 |
+
"eval_precision": 0.0,
|
45 |
+
"eval_recall": 0.0,
|
46 |
+
"eval_runtime": 0.065,
|
47 |
+
"eval_samples_per_second": 30.775,
|
48 |
+
"eval_steps_per_second": 15.388,
|
49 |
+
"step": 2
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 3.0,
|
53 |
+
"grad_norm": 9.92099380493164,
|
54 |
+
"learning_rate": 0.0,
|
55 |
+
"loss": 0.734,
|
56 |
+
"step": 3
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.0,
|
60 |
+
"eval_accuracy": 0.5,
|
61 |
+
"eval_auc": 1.0,
|
62 |
+
"eval_f1": 0.6666666666666666,
|
63 |
+
"eval_loss": 0.6047379970550537,
|
64 |
+
"eval_precision": 0.5,
|
65 |
+
"eval_recall": 1.0,
|
66 |
+
"eval_runtime": 0.1062,
|
67 |
+
"eval_samples_per_second": 18.84,
|
68 |
+
"eval_steps_per_second": 9.42,
|
69 |
+
"step": 3
|
70 |
+
}
|
71 |
+
],
|
72 |
+
"logging_steps": 1,
|
73 |
+
"max_steps": 3,
|
74 |
+
"num_input_tokens_seen": 0,
|
75 |
+
"num_train_epochs": 3,
|
76 |
+
"save_steps": 500,
|
77 |
+
"total_flos": 39409150427136.0,
|
78 |
+
"train_batch_size": 8,
|
79 |
+
"trial_name": null,
|
80 |
+
"trial_params": null
|
81 |
+
}
|
checkpoint-3/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b6c6dd69192e203e2333c61d859e0ce4c861af5331d42b6100164081d26e04d
|
3 |
+
size 4920
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilenet_v1_0.75_192",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"MobileNetV1ForImageClassification"
|
6 |
+
],
|
7 |
+
"classifier_dropout_prob": 0.001,
|
8 |
+
"depth_multiplier": 0.75,
|
9 |
+
"hidden_act": "relu6",
|
10 |
+
"id2label": {
|
11 |
+
"0": "madura",
|
12 |
+
"1": "normal"
|
13 |
+
},
|
14 |
+
"image_size": 192,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"madura": 0,
|
18 |
+
"normal": 1
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 0.001,
|
21 |
+
"min_depth": 8,
|
22 |
+
"model_type": "mobilenet_v1",
|
23 |
+
"num_channels": 3,
|
24 |
+
"problem_type": "single_label_classification",
|
25 |
+
"tf_padding": true,
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.38.0"
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94d6e3cf83cf845266b6e142753ea0b5c4097710ea4979e9b1356be582e31829
|
3 |
+
size 7356136
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 192,
|
4 |
+
"width": 192
|
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": "MobileNetV1ImageProcessor",
|
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": 224
|
25 |
+
}
|
26 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b6c6dd69192e203e2333c61d859e0ce4c861af5331d42b6100164081d26e04d
|
3 |
+
size 4920
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "autotrain-jdhm5-q26ec/autotrain-data",
|
3 |
+
"model": "google/mobilenet_v1_0.75_192",
|
4 |
+
"username": "yuleysi",
|
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-jdhm5-q26ec",
|
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": "yuleysi/autotrain-jdhm5-q26ec",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|