dima806 commited on
Commit
67b0add
1 Parent(s): 6b2fb0b

Upload folder using huggingface_hub

Browse files
checkpoint-640/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
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.33.3"
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:fd592a9dd0366877f42375eae8dd076d6b09b6a59224549951a6895585ca1a45
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:8ee64b66b1fbbb9f5097c90962482ecbf485733cd913c6889150488ce07eaeba
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:6dd17e9619d13cfb31fdfa3f89a73aa486815445f70b2087e8e2fc2c5322e761
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.055376775562763214,
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.9426877470355731,
14
- "eval_loss": 0.5755197405815125,
15
- "eval_runtime": 5.1227,
16
- "eval_samples_per_second": 98.776,
17
- "eval_steps_per_second": 12.493,
18
  "step": 64
19
  },
20
  {
21
  "epoch": 2.0,
22
- "eval_accuracy": 0.9881422924901185,
23
- "eval_loss": 0.20843671262264252,
24
- "eval_runtime": 5.1165,
25
- "eval_samples_per_second": 98.896,
26
- "eval_steps_per_second": 12.509,
27
  "step": 128
28
  },
29
  {
30
  "epoch": 3.0,
31
  "eval_accuracy": 1.0,
32
- "eval_loss": 0.1252429187297821,
33
- "eval_runtime": 5.0129,
34
- "eval_samples_per_second": 100.94,
35
- "eval_steps_per_second": 12.767,
36
  "step": 192
37
  },
38
  {
39
  "epoch": 4.0,
40
  "eval_accuracy": 1.0,
41
- "eval_loss": 0.09138158708810806,
42
- "eval_runtime": 5.0548,
43
- "eval_samples_per_second": 100.102,
44
- "eval_steps_per_second": 12.661,
45
  "step": 256
46
  },
47
  {
48
  "epoch": 5.0,
49
  "eval_accuracy": 1.0,
50
- "eval_loss": 0.07500764727592468,
51
- "eval_runtime": 5.0408,
52
- "eval_samples_per_second": 100.382,
53
- "eval_steps_per_second": 12.697,
54
  "step": 320
55
  },
56
  {
57
  "epoch": 6.0,
58
  "eval_accuracy": 1.0,
59
- "eval_loss": 0.06633897125720978,
60
- "eval_runtime": 5.0106,
61
- "eval_samples_per_second": 100.986,
62
- "eval_steps_per_second": 12.773,
63
  "step": 384
64
  },
65
  {
66
  "epoch": 7.0,
67
  "eval_accuracy": 1.0,
68
- "eval_loss": 0.06040707230567932,
69
- "eval_runtime": 5.0324,
70
- "eval_samples_per_second": 100.548,
71
- "eval_steps_per_second": 12.718,
72
  "step": 448
73
  },
74
  {
75
  "epoch": 7.81,
76
- "learning_rate": 2.372881355932204e-06,
77
- "loss": 0.1834,
 
78
  "step": 500
79
  },
80
  {
81
  "epoch": 8.0,
82
  "eval_accuracy": 1.0,
83
- "eval_loss": 0.057528626173734665,
84
- "eval_runtime": 4.9848,
85
- "eval_samples_per_second": 101.508,
86
- "eval_steps_per_second": 12.839,
87
  "step": 512
88
  },
89
  {
90
  "epoch": 9.0,
91
  "eval_accuracy": 1.0,
92
- "eval_loss": 0.05608272925019264,
93
- "eval_runtime": 5.1403,
94
- "eval_samples_per_second": 98.439,
95
- "eval_steps_per_second": 12.451,
96
  "step": 576
97
  },
98
  {
99
  "epoch": 10.0,
100
  "eval_accuracy": 1.0,
101
- "eval_loss": 0.055376775562763214,
102
- "eval_runtime": 5.0293,
103
- "eval_samples_per_second": 100.61,
104
- "eval_steps_per_second": 12.725,
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.5669020735288525e+18,
 
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:bca7d24ba12ebd121f2cc1d0b08aa48e6aaa46ae85ffca644c2cf819826d5d20
3
- size 4027
 
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:6bd55445e02d383312f8005664ccd8003c0eac7c69b6e99887df7d690bde0be3
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:b6174adc0fb4e35cf1719b1dc931f145857d37f16e89c2cfa8af2fbcb4b830bc
3
  size 4411
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e07f8b56c251084310b84fe32104c7513be2ac6b891bc8a0cae1d855d0e76faf
3
  size 4411