Upload folder using huggingface_hub
Browse files- checkpoint-600/config.json +32 -0
- checkpoint-600/model.safetensors +3 -0
- checkpoint-600/optimizer.pt +3 -0
- checkpoint-600/preprocessor_config.json +22 -0
- checkpoint-600/rng_state.pth +3 -0
- checkpoint-600/scheduler.pt +3 -0
- checkpoint-600/trainer_state.json +118 -0
- checkpoint-600/training_args.bin +3 -0
- config.json +2 -2
- model.safetensors +3 -0
- training_args.bin +2 -2
checkpoint-600/config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/food_beverages_japan_image_detection",
|
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": "food",
|
13 |
+
"1": "beverage"
|
14 |
+
},
|
15 |
+
"image_size": 224,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"beverage": 1,
|
20 |
+
"food": 0
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-12,
|
23 |
+
"model_type": "vit",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_hidden_layers": 12,
|
27 |
+
"patch_size": 16,
|
28 |
+
"problem_type": "single_label_classification",
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.38.2"
|
32 |
+
}
|
checkpoint-600/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44163160dfdfd996d0e6c96b320827479f6ec85bd03522d0574c7dba57b691b8
|
3 |
+
size 343223968
|
checkpoint-600/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e735a88945dd41db8e2524d836a70f1928fa7eeed6bbb2b79bf4c00e6d53194
|
3 |
+
size 686568453
|
checkpoint-600/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": "ViTImageProcessor",
|
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 |
+
}
|
checkpoint-600/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6e591fa4a0ac00b89c584d8c56886cf5dbf2eddcef91b3ea38a9df8bd8f1a6f
|
3 |
+
size 14575
|
checkpoint-600/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbdc2eb65f9e3c0b3cbb207c29765b6044bfb567e9fca24918e27befb8e9bb7a
|
3 |
+
size 627
|
checkpoint-600/trainer_state.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3020975887775421,
|
3 |
+
"best_model_checkpoint": "food_beverages_japan_image_detection/checkpoint-600",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 600,
|
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 |
+
"eval_accuracy": 0.8921775898520085,
|
14 |
+
"eval_loss": 0.3085739016532898,
|
15 |
+
"eval_runtime": 8.7055,
|
16 |
+
"eval_samples_per_second": 54.333,
|
17 |
+
"eval_steps_per_second": 6.892,
|
18 |
+
"step": 60
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.8900634249471459,
|
23 |
+
"eval_loss": 0.3083186745643616,
|
24 |
+
"eval_runtime": 8.628,
|
25 |
+
"eval_samples_per_second": 54.822,
|
26 |
+
"eval_steps_per_second": 6.954,
|
27 |
+
"step": 120
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.0,
|
31 |
+
"eval_accuracy": 0.8900634249471459,
|
32 |
+
"eval_loss": 0.3071586787700653,
|
33 |
+
"eval_runtime": 8.7844,
|
34 |
+
"eval_samples_per_second": 53.846,
|
35 |
+
"eval_steps_per_second": 6.83,
|
36 |
+
"step": 180
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 4.0,
|
40 |
+
"eval_accuracy": 0.8921775898520085,
|
41 |
+
"eval_loss": 0.30538779497146606,
|
42 |
+
"eval_runtime": 8.805,
|
43 |
+
"eval_samples_per_second": 53.719,
|
44 |
+
"eval_steps_per_second": 6.814,
|
45 |
+
"step": 240
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 5.0,
|
49 |
+
"eval_accuracy": 0.8942917547568711,
|
50 |
+
"eval_loss": 0.30612456798553467,
|
51 |
+
"eval_runtime": 8.6067,
|
52 |
+
"eval_samples_per_second": 54.957,
|
53 |
+
"eval_steps_per_second": 6.971,
|
54 |
+
"step": 300
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 6.0,
|
58 |
+
"eval_accuracy": 0.8900634249471459,
|
59 |
+
"eval_loss": 0.30368173122406006,
|
60 |
+
"eval_runtime": 8.435,
|
61 |
+
"eval_samples_per_second": 56.076,
|
62 |
+
"eval_steps_per_second": 7.113,
|
63 |
+
"step": 360
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 7.0,
|
67 |
+
"eval_accuracy": 0.8900634249471459,
|
68 |
+
"eval_loss": 0.30304276943206787,
|
69 |
+
"eval_runtime": 8.513,
|
70 |
+
"eval_samples_per_second": 55.562,
|
71 |
+
"eval_steps_per_second": 7.048,
|
72 |
+
"step": 420
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 8.0,
|
76 |
+
"eval_accuracy": 0.8921775898520085,
|
77 |
+
"eval_loss": 0.3024144768714905,
|
78 |
+
"eval_runtime": 8.6904,
|
79 |
+
"eval_samples_per_second": 54.428,
|
80 |
+
"eval_steps_per_second": 6.904,
|
81 |
+
"step": 480
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 8.33,
|
85 |
+
"grad_norm": 4.706602096557617,
|
86 |
+
"learning_rate": 1.818181818181818e-07,
|
87 |
+
"loss": 0.1807,
|
88 |
+
"step": 500
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 9.0,
|
92 |
+
"eval_accuracy": 0.8942917547568711,
|
93 |
+
"eval_loss": 0.30235838890075684,
|
94 |
+
"eval_runtime": 8.6893,
|
95 |
+
"eval_samples_per_second": 54.435,
|
96 |
+
"eval_steps_per_second": 6.905,
|
97 |
+
"step": 540
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"epoch": 10.0,
|
101 |
+
"eval_accuracy": 0.8942917547568711,
|
102 |
+
"eval_loss": 0.3020975887775421,
|
103 |
+
"eval_runtime": 8.6487,
|
104 |
+
"eval_samples_per_second": 54.691,
|
105 |
+
"eval_steps_per_second": 6.937,
|
106 |
+
"step": 600
|
107 |
+
}
|
108 |
+
],
|
109 |
+
"logging_steps": 500,
|
110 |
+
"max_steps": 600,
|
111 |
+
"num_input_tokens_seen": 0,
|
112 |
+
"num_train_epochs": 10,
|
113 |
+
"save_steps": 500,
|
114 |
+
"total_flos": 1.4653735236119347e+18,
|
115 |
+
"train_batch_size": 32,
|
116 |
+
"trial_name": null,
|
117 |
+
"trial_params": null
|
118 |
+
}
|
checkpoint-600/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08ac76e7b549da44470b67ed30f9d71a50c503a5df93054c9913dc63048d1081
|
3 |
+
size 4411
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
@@ -28,5 +28,5 @@
|
|
28 |
"problem_type": "single_label_classification",
|
29 |
"qkv_bias": true,
|
30 |
"torch_dtype": "float32",
|
31 |
-
"transformers_version": "4.
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/food_beverages_japan_image_detection",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
28 |
"problem_type": "single_label_classification",
|
29 |
"qkv_bias": true,
|
30 |
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.38.2"
|
32 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44163160dfdfd996d0e6c96b320827479f6ec85bd03522d0574c7dba57b691b8
|
3 |
+
size 343223968
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08ac76e7b549da44470b67ed30f9d71a50c503a5df93054c9913dc63048d1081
|
3 |
+
size 4411
|