Upload folder using huggingface_hub
Browse files- 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 +49 -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": "Baseball",
|
13 |
+
"1": "Basketball",
|
14 |
+
"2": "Football",
|
15 |
+
"3": "Soccer"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Baseball": "0",
|
22 |
+
"Basketball": "1",
|
23 |
+
"Football": "2",
|
24 |
+
"Soccer": "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.29.2"
|
36 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e984d868dcb316c8c5cf26f7a3e1db14434ddfb3680f3e770bd19bcdb9df5ca
|
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:66beade1f905453394db309e76c1f691510fe8854781de904569e5d68a2ec354
|
3 |
+
size 343274861
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7508d4b8dd267de5cc58e972da25236687927651336a28f292c92f7f23951475
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d873dc7d038fc2f5670ab7e07bb4789ca51bfe9cd11af3962c59b0da742b8568
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.1274316906929016,
|
3 |
+
"best_model_checkpoint": "./vit-base-beans/checkpoint-40",
|
4 |
+
"epoch": 3.6363636363636362,
|
5 |
+
"global_step": 40,
|
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.91,
|
12 |
+
"learning_rate": 0.00015454545454545454,
|
13 |
+
"loss": 0.9397,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.82,
|
18 |
+
"learning_rate": 0.00010909090909090909,
|
19 |
+
"loss": 0.3188,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.73,
|
24 |
+
"learning_rate": 6.363636363636364e-05,
|
25 |
+
"loss": 0.1812,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 3.64,
|
30 |
+
"learning_rate": 1.8181818181818182e-05,
|
31 |
+
"loss": 0.119,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 3.64,
|
36 |
+
"eval_accuracy": 1.0,
|
37 |
+
"eval_loss": 0.1274316906929016,
|
38 |
+
"eval_runtime": 0.297,
|
39 |
+
"eval_samples_per_second": 74.069,
|
40 |
+
"eval_steps_per_second": 10.1,
|
41 |
+
"step": 40
|
42 |
+
}
|
43 |
+
],
|
44 |
+
"max_steps": 44,
|
45 |
+
"num_train_epochs": 4,
|
46 |
+
"total_flos": 4.959576235966464e+16,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b0c8bb67782b48b7f1631c00e36ffc9372a1fa947a405c8f3769b2884241db2
|
3 |
+
size 3899
|