Upload folder using huggingface_hub
#1
by
casonshep
- opened
- config.json +36 -0
- optimizer.pt +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +82 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Bog_Turtle",
|
13 |
+
"1": "Loggerhead_Turtle",
|
14 |
+
"2": "Red-Eared_Slider_Turtle",
|
15 |
+
"3": "Snapping_Turtle"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Bog_Turtle": "0",
|
22 |
+
"Loggerhead_Turtle": "1",
|
23 |
+
"Red-Eared_Slider_Turtle": "2",
|
24 |
+
"Snapping_Turtle": "3"
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"model_type": "vit",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_channels": 3,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"patch_size": 16,
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"qkv_bias": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.28.1"
|
36 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c1d1587476815f034ef16db0bae7569f79e8e2c83a911a924f83c245c6d60bd
|
3 |
+
size 686531013
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbed9eee264f86dd42a5373498ace3618d6b2f06333bf9ff03f908e050dde52e
|
3 |
+
size 343274861
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cde37b1d59ec8275aa116b67c6503ca997bd9a90886b106af365cbb8dfef4db9
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f0051d0af53410e29e0c7de2401abe0dfdff6e124db2e23d7a56174ecb2db4c
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.07815484702587128,
|
3 |
+
"best_model_checkpoint": "./vit-base-beans/checkpoint-80",
|
4 |
+
"epoch": 3.6363636363636362,
|
5 |
+
"global_step": 80,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.45,
|
12 |
+
"learning_rate": 0.00017727272727272728,
|
13 |
+
"loss": 1.0553,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.91,
|
18 |
+
"learning_rate": 0.00015454545454545454,
|
19 |
+
"loss": 0.5754,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.36,
|
24 |
+
"learning_rate": 0.0001318181818181818,
|
25 |
+
"loss": 0.3398,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.82,
|
30 |
+
"learning_rate": 0.00010909090909090909,
|
31 |
+
"loss": 0.1949,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.82,
|
36 |
+
"eval_accuracy": 1.0,
|
37 |
+
"eval_loss": 0.16914454102516174,
|
38 |
+
"eval_runtime": 0.7601,
|
39 |
+
"eval_samples_per_second": 32.891,
|
40 |
+
"eval_steps_per_second": 5.263,
|
41 |
+
"step": 40
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 2.27,
|
45 |
+
"learning_rate": 8.636363636363637e-05,
|
46 |
+
"loss": 0.1191,
|
47 |
+
"step": 50
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 2.73,
|
51 |
+
"learning_rate": 6.363636363636364e-05,
|
52 |
+
"loss": 0.0847,
|
53 |
+
"step": 60
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 3.18,
|
57 |
+
"learning_rate": 4.0909090909090915e-05,
|
58 |
+
"loss": 0.0727,
|
59 |
+
"step": 70
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 3.64,
|
63 |
+
"learning_rate": 1.8181818181818182e-05,
|
64 |
+
"loss": 0.0585,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 3.64,
|
69 |
+
"eval_accuracy": 1.0,
|
70 |
+
"eval_loss": 0.07815484702587128,
|
71 |
+
"eval_runtime": 0.359,
|
72 |
+
"eval_samples_per_second": 69.634,
|
73 |
+
"eval_steps_per_second": 11.141,
|
74 |
+
"step": 80
|
75 |
+
}
|
76 |
+
],
|
77 |
+
"max_steps": 88,
|
78 |
+
"num_train_epochs": 4,
|
79 |
+
"total_flos": 9.872656444720742e+16,
|
80 |
+
"trial_name": null,
|
81 |
+
"trial_params": null
|
82 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a04f7e0d7f5e0096b3858ce6822fc4c73c64145170551298ba29a3d6b9e6066e
|
3 |
+
size 3579
|