Upload . with huggingface_hub (#2)
Browse files- Upload . with huggingface_hub (ab457f5e972da2cff1b4ba50db241f0b0922a5f7)
- 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": "Jordan%201",
|
13 |
+
"1": "Jordan%2011",
|
14 |
+
"2": "Jordan%2012",
|
15 |
+
"3": "Jordan%204"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Jordan%201": "0",
|
22 |
+
"Jordan%2011": "1",
|
23 |
+
"Jordan%2012": "2",
|
24 |
+
"Jordan%204": "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.27.3"
|
36 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a03fd041e45515c80e237352ec58e5ea5b72056d712a66fb2aec6154275e59b6
|
3 |
+
size 686525381
|
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:9df3f36f140143195699e9029f2f467ecf137789484fa3f04c6dc314a9906244
|
3 |
+
size 343272109
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8214c01f27f2aeae1e56fc7a28278e26d2d258088ec2bdf3bdc701698ad3524
|
3 |
+
size 13553
|
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.10923629999160767,
|
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.1791,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.91,
|
18 |
+
"learning_rate": 0.00015454545454545454,
|
19 |
+
"loss": 0.7576,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.36,
|
24 |
+
"learning_rate": 0.0001318181818181818,
|
25 |
+
"loss": 0.4147,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.82,
|
30 |
+
"learning_rate": 0.00010909090909090909,
|
31 |
+
"loss": 0.2625,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.82,
|
36 |
+
"eval_accuracy": 0.9705882352941176,
|
37 |
+
"eval_loss": 0.20606106519699097,
|
38 |
+
"eval_runtime": 73.8021,
|
39 |
+
"eval_samples_per_second": 1.382,
|
40 |
+
"eval_steps_per_second": 0.176,
|
41 |
+
"step": 40
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 2.27,
|
45 |
+
"learning_rate": 8.636363636363637e-05,
|
46 |
+
"loss": 0.1494,
|
47 |
+
"step": 50
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 2.73,
|
51 |
+
"learning_rate": 6.363636363636364e-05,
|
52 |
+
"loss": 0.0966,
|
53 |
+
"step": 60
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 3.18,
|
57 |
+
"learning_rate": 4.0909090909090915e-05,
|
58 |
+
"loss": 0.0698,
|
59 |
+
"step": 70
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 3.64,
|
63 |
+
"learning_rate": 1.8181818181818182e-05,
|
64 |
+
"loss": 0.0634,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 3.64,
|
69 |
+
"eval_accuracy": 0.9901960784313726,
|
70 |
+
"eval_loss": 0.10923629999160767,
|
71 |
+
"eval_runtime": 73.0157,
|
72 |
+
"eval_samples_per_second": 1.397,
|
73 |
+
"eval_steps_per_second": 0.178,
|
74 |
+
"step": 80
|
75 |
+
}
|
76 |
+
],
|
77 |
+
"max_steps": 88,
|
78 |
+
"num_train_epochs": 4,
|
79 |
+
"total_flos": 9.733168363084186e+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:c70d352720c9cba2d80ccc76a422730a7b27defba8610fd29e0262f648fb2fff
|
3 |
+
size 3515
|