Upload folder using huggingface_hub
Browse files- checkpoint-640/config.json +2 -2
- checkpoint-640/model.safetensors +3 -0
- checkpoint-640/optimizer.pt +1 -1
- checkpoint-640/preprocessor_config.json +14 -0
- checkpoint-640/rng_state.pth +1 -1
- checkpoint-640/scheduler.pt +1 -1
- checkpoint-640/trainer_state.json +49 -46
- checkpoint-640/training_args.bin +2 -2
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-640/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
@@ -30,5 +30,5 @@
|
|
30 |
"problem_type": "single_label_classification",
|
31 |
"qkv_bias": true,
|
32 |
"torch_dtype": "float32",
|
33 |
-
"transformers_version": "4.
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/lemon_quality_image_detection",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
30 |
"problem_type": "single_label_classification",
|
31 |
"qkv_bias": true,
|
32 |
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.39.2"
|
34 |
}
|
checkpoint-640/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62b6a3bd5aa8648cead6ffef643d16b9b028d7065b219b512f5adfb902bb4043
|
3 |
+
size 343227052
|
checkpoint-640/optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 686574597
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:201ebd1873a30cdfd194271a30c186fef94a8c0e9032143ca14b92e8dae2f4c5
|
3 |
size 686574597
|
checkpoint-640/preprocessor_config.json
CHANGED
@@ -1,4 +1,18 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"do_normalize": true,
|
3 |
"do_rescale": true,
|
4 |
"do_resize": true,
|
|
|
1 |
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
"do_normalize": true,
|
17 |
"do_rescale": true,
|
18 |
"do_resize": true,
|
checkpoint-640/rng_state.pth
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14575
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d65245d4f1be2c128e288ca1eac73807f644b9751f6b34c271f8d903fa67900
|
3 |
size 14575
|
checkpoint-640/scheduler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 627
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a82f24b2e7880d1457b0d4a6c77d91f37a0ffa36941b19ed78c4a79b2c543100
|
3 |
size 627
|
checkpoint-640/trainer_state.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
"best_model_checkpoint": "lemon_quality_image_detection/checkpoint-640",
|
4 |
"epoch": 10.0,
|
5 |
"eval_steps": 500,
|
@@ -10,106 +10,109 @@
|
|
10 |
"log_history": [
|
11 |
{
|
12 |
"epoch": 1.0,
|
13 |
-
"eval_accuracy": 0
|
14 |
-
"eval_loss": 0.
|
15 |
-
"eval_runtime":
|
16 |
-
"eval_samples_per_second":
|
17 |
-
"eval_steps_per_second": 12.
|
18 |
"step": 64
|
19 |
},
|
20 |
{
|
21 |
"epoch": 2.0,
|
22 |
-
"eval_accuracy": 0
|
23 |
-
"eval_loss": 0.
|
24 |
-
"eval_runtime":
|
25 |
-
"eval_samples_per_second":
|
26 |
-
"eval_steps_per_second": 12.
|
27 |
"step": 128
|
28 |
},
|
29 |
{
|
30 |
"epoch": 3.0,
|
31 |
"eval_accuracy": 1.0,
|
32 |
-
"eval_loss": 0.
|
33 |
-
"eval_runtime":
|
34 |
-
"eval_samples_per_second": 100.
|
35 |
-
"eval_steps_per_second": 12.
|
36 |
"step": 192
|
37 |
},
|
38 |
{
|
39 |
"epoch": 4.0,
|
40 |
"eval_accuracy": 1.0,
|
41 |
-
"eval_loss": 0.
|
42 |
-
"eval_runtime":
|
43 |
-
"eval_samples_per_second":
|
44 |
-
"eval_steps_per_second": 12.
|
45 |
"step": 256
|
46 |
},
|
47 |
{
|
48 |
"epoch": 5.0,
|
49 |
"eval_accuracy": 1.0,
|
50 |
-
"eval_loss": 0.
|
51 |
-
"eval_runtime":
|
52 |
-
"eval_samples_per_second":
|
53 |
-
"eval_steps_per_second": 12.
|
54 |
"step": 320
|
55 |
},
|
56 |
{
|
57 |
"epoch": 6.0,
|
58 |
"eval_accuracy": 1.0,
|
59 |
-
"eval_loss": 0.
|
60 |
-
"eval_runtime":
|
61 |
-
"eval_samples_per_second":
|
62 |
-
"eval_steps_per_second": 12.
|
63 |
"step": 384
|
64 |
},
|
65 |
{
|
66 |
"epoch": 7.0,
|
67 |
"eval_accuracy": 1.0,
|
68 |
-
"eval_loss": 0.
|
69 |
-
"eval_runtime":
|
70 |
-
"eval_samples_per_second": 100.
|
71 |
-
"eval_steps_per_second": 12.
|
72 |
"step": 448
|
73 |
},
|
74 |
{
|
75 |
"epoch": 7.81,
|
76 |
-
"
|
77 |
-
"
|
|
|
78 |
"step": 500
|
79 |
},
|
80 |
{
|
81 |
"epoch": 8.0,
|
82 |
"eval_accuracy": 1.0,
|
83 |
-
"eval_loss": 0.
|
84 |
-
"eval_runtime":
|
85 |
-
"eval_samples_per_second":
|
86 |
-
"eval_steps_per_second": 12.
|
87 |
"step": 512
|
88 |
},
|
89 |
{
|
90 |
"epoch": 9.0,
|
91 |
"eval_accuracy": 1.0,
|
92 |
-
"eval_loss": 0.
|
93 |
-
"eval_runtime":
|
94 |
-
"eval_samples_per_second":
|
95 |
-
"eval_steps_per_second": 12.
|
96 |
"step": 576
|
97 |
},
|
98 |
{
|
99 |
"epoch": 10.0,
|
100 |
"eval_accuracy": 1.0,
|
101 |
-
"eval_loss": 0.
|
102 |
-
"eval_runtime":
|
103 |
-
"eval_samples_per_second":
|
104 |
-
"eval_steps_per_second": 12.
|
105 |
"step": 640
|
106 |
}
|
107 |
],
|
108 |
"logging_steps": 500,
|
109 |
"max_steps": 640,
|
|
|
110 |
"num_train_epochs": 10,
|
111 |
"save_steps": 500,
|
112 |
-
"total_flos": 1.
|
|
|
113 |
"trial_name": null,
|
114 |
"trial_params": null
|
115 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.04739821329712868,
|
3 |
"best_model_checkpoint": "lemon_quality_image_detection/checkpoint-640",
|
4 |
"epoch": 10.0,
|
5 |
"eval_steps": 500,
|
|
|
10 |
"log_history": [
|
11 |
{
|
12 |
"epoch": 1.0,
|
13 |
+
"eval_accuracy": 1.0,
|
14 |
+
"eval_loss": 0.055141426622867584,
|
15 |
+
"eval_runtime": 13.4768,
|
16 |
+
"eval_samples_per_second": 100.172,
|
17 |
+
"eval_steps_per_second": 12.54,
|
18 |
"step": 64
|
19 |
},
|
20 |
{
|
21 |
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 1.0,
|
23 |
+
"eval_loss": 0.053136058151721954,
|
24 |
+
"eval_runtime": 13.1869,
|
25 |
+
"eval_samples_per_second": 102.374,
|
26 |
+
"eval_steps_per_second": 12.816,
|
27 |
"step": 128
|
28 |
},
|
29 |
{
|
30 |
"epoch": 3.0,
|
31 |
"eval_accuracy": 1.0,
|
32 |
+
"eval_loss": 0.051570698618888855,
|
33 |
+
"eval_runtime": 13.3667,
|
34 |
+
"eval_samples_per_second": 100.998,
|
35 |
+
"eval_steps_per_second": 12.643,
|
36 |
"step": 192
|
37 |
},
|
38 |
{
|
39 |
"epoch": 4.0,
|
40 |
"eval_accuracy": 1.0,
|
41 |
+
"eval_loss": 0.05022797733545303,
|
42 |
+
"eval_runtime": 14.0377,
|
43 |
+
"eval_samples_per_second": 96.169,
|
44 |
+
"eval_steps_per_second": 12.039,
|
45 |
"step": 256
|
46 |
},
|
47 |
{
|
48 |
"epoch": 5.0,
|
49 |
"eval_accuracy": 1.0,
|
50 |
+
"eval_loss": 0.04957624524831772,
|
51 |
+
"eval_runtime": 13.7563,
|
52 |
+
"eval_samples_per_second": 98.137,
|
53 |
+
"eval_steps_per_second": 12.285,
|
54 |
"step": 320
|
55 |
},
|
56 |
{
|
57 |
"epoch": 6.0,
|
58 |
"eval_accuracy": 1.0,
|
59 |
+
"eval_loss": 0.04869816452264786,
|
60 |
+
"eval_runtime": 13.6457,
|
61 |
+
"eval_samples_per_second": 98.932,
|
62 |
+
"eval_steps_per_second": 12.385,
|
63 |
"step": 384
|
64 |
},
|
65 |
{
|
66 |
"epoch": 7.0,
|
67 |
"eval_accuracy": 1.0,
|
68 |
+
"eval_loss": 0.048136912286281586,
|
69 |
+
"eval_runtime": 13.4759,
|
70 |
+
"eval_samples_per_second": 100.179,
|
71 |
+
"eval_steps_per_second": 12.541,
|
72 |
"step": 448
|
73 |
},
|
74 |
{
|
75 |
"epoch": 7.81,
|
76 |
+
"grad_norm": 0.1739039421081543,
|
77 |
+
"learning_rate": 1.1864406779661017e-07,
|
78 |
+
"loss": 0.0361,
|
79 |
"step": 500
|
80 |
},
|
81 |
{
|
82 |
"epoch": 8.0,
|
83 |
"eval_accuracy": 1.0,
|
84 |
+
"eval_loss": 0.04772254824638367,
|
85 |
+
"eval_runtime": 13.428,
|
86 |
+
"eval_samples_per_second": 100.536,
|
87 |
+
"eval_steps_per_second": 12.586,
|
88 |
"step": 512
|
89 |
},
|
90 |
{
|
91 |
"epoch": 9.0,
|
92 |
"eval_accuracy": 1.0,
|
93 |
+
"eval_loss": 0.04746958240866661,
|
94 |
+
"eval_runtime": 13.3671,
|
95 |
+
"eval_samples_per_second": 100.994,
|
96 |
+
"eval_steps_per_second": 12.643,
|
97 |
"step": 576
|
98 |
},
|
99 |
{
|
100 |
"epoch": 10.0,
|
101 |
"eval_accuracy": 1.0,
|
102 |
+
"eval_loss": 0.04739821329712868,
|
103 |
+
"eval_runtime": 13.6007,
|
104 |
+
"eval_samples_per_second": 99.259,
|
105 |
+
"eval_steps_per_second": 12.426,
|
106 |
"step": 640
|
107 |
}
|
108 |
],
|
109 |
"logging_steps": 500,
|
110 |
"max_steps": 640,
|
111 |
+
"num_input_tokens_seen": 0,
|
112 |
"num_train_epochs": 10,
|
113 |
"save_steps": 500,
|
114 |
+
"total_flos": 1.569226854053376e+18,
|
115 |
+
"train_batch_size": 32,
|
116 |
"trial_name": null,
|
117 |
"trial_params": null
|
118 |
}
|
checkpoint-640/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:e07f8b56c251084310b84fe32104c7513be2ac6b891bc8a0cae1d855d0e76faf
|
3 |
+
size 4411
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343227052
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62b6a3bd5aa8648cead6ffef643d16b9b028d7065b219b512f5adfb902bb4043
|
3 |
size 343227052
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4411
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e07f8b56c251084310b84fe32104c7513be2ac6b891bc8a0cae1d855d0e76faf
|
3 |
size 4411
|