Upload folder using huggingface_hub
Browse files- README.md +42 -0
- checkpoint-4/config.json +54 -0
- checkpoint-4/model.safetensors +3 -0
- checkpoint-4/optimizer.pt +3 -0
- checkpoint-4/rng_state.pth +3 -0
- checkpoint-4/scheduler.pt +3 -0
- checkpoint-4/trainer_state.json +81 -0
- checkpoint-4/training_args.bin +3 -0
- config.json +54 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- chanhua/autotrain-data-autotrain-7p556-nc0f8
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: 1.0925332307815552
|
23 |
+
|
24 |
+
f1_macro: 0.16666666666666666
|
25 |
+
|
26 |
+
f1_micro: 0.3333333333333333
|
27 |
+
|
28 |
+
f1_weighted: 0.16666666666666666
|
29 |
+
|
30 |
+
precision_macro: 0.1111111111111111
|
31 |
+
|
32 |
+
precision_micro: 0.3333333333333333
|
33 |
+
|
34 |
+
precision_weighted: 0.1111111111111111
|
35 |
+
|
36 |
+
recall_macro: 0.3333333333333333
|
37 |
+
|
38 |
+
recall_micro: 0.3333333333333333
|
39 |
+
|
40 |
+
recall_weighted: 0.3333333333333333
|
41 |
+
|
42 |
+
accuracy: 0.3333333333333333
|
checkpoint-4/config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/convnextv2-pico-1k-224",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"architectures": [
|
5 |
+
"ConvNextV2ForImageClassification"
|
6 |
+
],
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.0,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
64,
|
17 |
+
128,
|
18 |
+
256,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "11covered_with_a_quilt_and_only_the_head_exposed",
|
23 |
+
"1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
|
24 |
+
"2": "13has_nothing_to_do_with_11_and_12_above"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"label2id": {
|
29 |
+
"11covered_with_a_quilt_and_only_the_head_exposed": 0,
|
30 |
+
"12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
|
31 |
+
"13has_nothing_to_do_with_11_and_12_above": 2
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"model_type": "convnextv2",
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_stages": 4,
|
37 |
+
"out_features": [
|
38 |
+
"stage4"
|
39 |
+
],
|
40 |
+
"out_indices": [
|
41 |
+
4
|
42 |
+
],
|
43 |
+
"patch_size": 4,
|
44 |
+
"problem_type": "single_label_classification",
|
45 |
+
"stage_names": [
|
46 |
+
"stem",
|
47 |
+
"stage1",
|
48 |
+
"stage2",
|
49 |
+
"stage3",
|
50 |
+
"stage4"
|
51 |
+
],
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.36.1"
|
54 |
+
}
|
checkpoint-4/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38321939fcd1f08ccc083ecf1e4a39f5563150ba1d9754f16229857c9f60a509
|
3 |
+
size 34235708
|
checkpoint-4/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac0e2cb397c61f87dd9d31cd27ba182ce12201bad9d32fc563b8c6ac7ff598b5
|
3 |
+
size 68552570
|
checkpoint-4/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71391062cee22da5033b6f12d0b3ba0c35049cdf83f4d5d50968c5bb500e3e94
|
3 |
+
size 13990
|
checkpoint-4/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69a4fd8076f0953290a3c8a4599e60f5349f68301034b76d97b37165411975d5
|
3 |
+
size 1064
|
checkpoint-4/trainer_state.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.0925332307815552,
|
3 |
+
"best_model_checkpoint": "/tmp/model/checkpoint-4",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 4,
|
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 |
+
"learning_rate": 5e-05,
|
14 |
+
"loss": 1.0986,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"learning_rate": 4e-05,
|
20 |
+
"loss": 1.0986,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.0,
|
25 |
+
"eval_accuracy": 0.3333333333333333,
|
26 |
+
"eval_f1_macro": 0.16666666666666666,
|
27 |
+
"eval_f1_micro": 0.3333333333333333,
|
28 |
+
"eval_f1_weighted": 0.16666666666666666,
|
29 |
+
"eval_loss": 1.0954087972640991,
|
30 |
+
"eval_precision_macro": 0.1111111111111111,
|
31 |
+
"eval_precision_micro": 0.3333333333333333,
|
32 |
+
"eval_precision_weighted": 0.1111111111111111,
|
33 |
+
"eval_recall_macro": 0.3333333333333333,
|
34 |
+
"eval_recall_micro": 0.3333333333333333,
|
35 |
+
"eval_recall_weighted": 0.3333333333333333,
|
36 |
+
"eval_runtime": 0.2642,
|
37 |
+
"eval_samples_per_second": 11.353,
|
38 |
+
"eval_steps_per_second": 3.784,
|
39 |
+
"step": 2
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.5,
|
43 |
+
"learning_rate": 3e-05,
|
44 |
+
"loss": 1.0901,
|
45 |
+
"step": 3
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.0,
|
49 |
+
"learning_rate": 2e-05,
|
50 |
+
"loss": 1.0939,
|
51 |
+
"step": 4
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 2.0,
|
55 |
+
"eval_accuracy": 0.3333333333333333,
|
56 |
+
"eval_f1_macro": 0.16666666666666666,
|
57 |
+
"eval_f1_micro": 0.3333333333333333,
|
58 |
+
"eval_f1_weighted": 0.16666666666666666,
|
59 |
+
"eval_loss": 1.0925332307815552,
|
60 |
+
"eval_precision_macro": 0.1111111111111111,
|
61 |
+
"eval_precision_micro": 0.3333333333333333,
|
62 |
+
"eval_precision_weighted": 0.1111111111111111,
|
63 |
+
"eval_recall_macro": 0.3333333333333333,
|
64 |
+
"eval_recall_micro": 0.3333333333333333,
|
65 |
+
"eval_recall_weighted": 0.3333333333333333,
|
66 |
+
"eval_runtime": 0.2568,
|
67 |
+
"eval_samples_per_second": 11.68,
|
68 |
+
"eval_steps_per_second": 3.893,
|
69 |
+
"step": 4
|
70 |
+
}
|
71 |
+
],
|
72 |
+
"logging_steps": 1,
|
73 |
+
"max_steps": 6,
|
74 |
+
"num_input_tokens_seen": 0,
|
75 |
+
"num_train_epochs": 3,
|
76 |
+
"save_steps": 500,
|
77 |
+
"total_flos": 169981652865024.0,
|
78 |
+
"train_batch_size": 8,
|
79 |
+
"trial_name": null,
|
80 |
+
"trial_params": null
|
81 |
+
}
|
checkpoint-4/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c802e6c66fe17c8c4a8578ee8f10914b08eb0b78b70a58ebfc9cfacb9302c9d5
|
3 |
+
size 4728
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/convnextv2-pico-1k-224",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"architectures": [
|
5 |
+
"ConvNextV2ForImageClassification"
|
6 |
+
],
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.0,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
64,
|
17 |
+
128,
|
18 |
+
256,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "11covered_with_a_quilt_and_only_the_head_exposed",
|
23 |
+
"1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
|
24 |
+
"2": "13has_nothing_to_do_with_11_and_12_above"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"label2id": {
|
29 |
+
"11covered_with_a_quilt_and_only_the_head_exposed": 0,
|
30 |
+
"12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
|
31 |
+
"13has_nothing_to_do_with_11_and_12_above": 2
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"model_type": "convnextv2",
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_stages": 4,
|
37 |
+
"out_features": [
|
38 |
+
"stage4"
|
39 |
+
],
|
40 |
+
"out_indices": [
|
41 |
+
4
|
42 |
+
],
|
43 |
+
"patch_size": 4,
|
44 |
+
"problem_type": "single_label_classification",
|
45 |
+
"stage_names": [
|
46 |
+
"stem",
|
47 |
+
"stage1",
|
48 |
+
"stage2",
|
49 |
+
"stage3",
|
50 |
+
"stage4"
|
51 |
+
],
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.36.1"
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38321939fcd1f08ccc083ecf1e4a39f5563150ba1d9754f16229857c9f60a509
|
3 |
+
size 34235708
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c802e6c66fe17c8c4a8578ee8f10914b08eb0b78b70a58ebfc9cfacb9302c9d5
|
3 |
+
size 4728
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "chanhua/autotrain-data-autotrain-7p556-nc0f8",
|
3 |
+
"model": "facebook/convnextv2-pico-1k-224",
|
4 |
+
"username": "chanhua",
|
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": "/tmp/model",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "no",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"save_strategy": "epoch",
|
23 |
+
"push_to_hub": true,
|
24 |
+
"repo_id": "chanhua/autotrain-7p556-nc0f8",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|