yaniseuranova commited on
Commit
552831d
1 Parent(s): 171fd45

🍻 cheers

Browse files
README.md CHANGED
@@ -2,7 +2,11 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224
4
  tags:
 
 
5
  - generated_from_trainer
 
 
6
  model-index:
7
  - name: vit-base-beans
8
  results: []
@@ -13,7 +17,10 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # vit-base-beans
15
 
16
- This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
 
 
 
17
 
18
  ## Model description
19
 
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224
4
  tags:
5
+ - image-classification
6
+ - vision
7
  - generated_from_trainer
8
+ metrics:
9
+ - accuracy
10
  model-index:
11
  - name: vit-base-beans
12
  results: []
 
17
 
18
  # vit-base-beans
19
 
20
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the beans dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0002
23
+ - Accuracy: 1.0
24
 
25
  ## Model description
26
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 4.0,
3
  "eval_accuracy": 1.0,
4
- "eval_loss": 0.00037778005935251713,
5
- "eval_runtime": 3.7977,
6
- "eval_samples_per_second": 21.592,
7
- "eval_steps_per_second": 2.896,
8
- "total_flos": 2.6605778719997952e+17,
9
- "train_loss": 0.34859154408886317,
10
- "train_runtime": 81.3001,
11
- "train_samples_per_second": 4.034,
12
- "train_steps_per_second": 1.033
13
  }
 
1
  {
2
  "epoch": 4.0,
3
  "eval_accuracy": 1.0,
4
+ "eval_loss": 0.0001566599094076082,
5
+ "eval_runtime": 2.4776,
6
+ "eval_samples_per_second": 33.097,
7
+ "eval_steps_per_second": 4.44,
8
+ "total_flos": 2.5417372593586176e+16,
9
+ "train_loss": 0.1902264037302562,
10
+ "train_runtime": 30.4122,
11
+ "train_samples_per_second": 10.785,
12
+ "train_steps_per_second": 2.762
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
  "eval_accuracy": 1.0,
4
- "eval_loss": 0.00037778005935251713,
5
- "eval_runtime": 3.7977,
6
- "eval_samples_per_second": 21.592,
7
- "eval_steps_per_second": 2.896
8
  }
 
1
  {
2
  "epoch": 4.0,
3
  "eval_accuracy": 1.0,
4
+ "eval_loss": 0.0001566599094076082,
5
+ "eval_runtime": 2.4776,
6
+ "eval_samples_per_second": 33.097,
7
+ "eval_steps_per_second": 4.44
8
  }
runs/Aug30_10-01-18_7e2de4304170/events.out.tfevents.1725012136.7e2de4304170 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b65dd299fff61a93ef7adae902ae0ea57aec74cc26da58fb98d0011d2d4cdf2
3
+ size 40
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
- "total_flos": 2.6605778719997952e+17,
4
- "train_loss": 0.34859154408886317,
5
- "train_runtime": 81.3001,
6
- "train_samples_per_second": 4.034,
7
- "train_steps_per_second": 1.033
8
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "total_flos": 2.5417372593586176e+16,
4
+ "train_loss": 0.1902264037302562,
5
+ "train_runtime": 30.4122,
6
+ "train_samples_per_second": 10.785,
7
+ "train_steps_per_second": 2.762
8
  }
trainer_state.json CHANGED
@@ -10,68 +10,68 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.47619047619047616,
13
- "grad_norm": 6.629721164703369,
14
  "learning_rate": 0.0001785714285714286,
15
- "loss": 1.0185,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.9523809523809523,
20
- "grad_norm": 18.000343322753906,
21
  "learning_rate": 0.00015476190476190478,
22
- "loss": 0.7882,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 1.4285714285714286,
27
- "grad_norm": 0.8654012680053711,
28
  "learning_rate": 0.00013095238095238096,
29
- "loss": 0.3069,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 1.9047619047619047,
34
- "grad_norm": 25.521047592163086,
35
  "learning_rate": 0.00010714285714285715,
36
- "loss": 0.6619,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 2.380952380952381,
41
- "grad_norm": 0.016277112066745758,
42
  "learning_rate": 8.333333333333334e-05,
43
- "loss": 0.1038,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 2.857142857142857,
48
- "grad_norm": 0.021812940016388893,
49
  "learning_rate": 5.9523809523809524e-05,
50
- "loss": 0.0386,
51
  "step": 60
52
  },
53
  {
54
  "epoch": 3.3333333333333335,
55
- "grad_norm": 0.006898158695548773,
56
  "learning_rate": 3.571428571428572e-05,
57
- "loss": 0.0006,
58
  "step": 70
59
  },
60
  {
61
  "epoch": 3.8095238095238093,
62
- "grad_norm": 0.003354752669110894,
63
  "learning_rate": 1.1904761904761905e-05,
64
- "loss": 0.0093,
65
  "step": 80
66
  },
67
  {
68
  "epoch": 4.0,
69
  "step": 84,
70
- "total_flos": 2.6605778719997952e+17,
71
- "train_loss": 0.34859154408886317,
72
- "train_runtime": 81.3001,
73
- "train_samples_per_second": 4.034,
74
- "train_steps_per_second": 1.033
75
  }
76
  ],
77
  "logging_steps": 10,
@@ -91,7 +91,7 @@
91
  "attributes": {}
92
  }
93
  },
94
- "total_flos": 2.6605778719997952e+17,
95
  "train_batch_size": 4,
96
  "trial_name": null,
97
  "trial_params": null
 
10
  "log_history": [
11
  {
12
  "epoch": 0.47619047619047616,
13
+ "grad_norm": 6.1757893562316895,
14
  "learning_rate": 0.0001785714285714286,
15
+ "loss": 0.5829,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.9523809523809523,
20
+ "grad_norm": 3.337554931640625,
21
  "learning_rate": 0.00015476190476190478,
22
+ "loss": 0.7423,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 1.4285714285714286,
27
+ "grad_norm": 0.07775535434484482,
28
  "learning_rate": 0.00013095238095238096,
29
+ "loss": 0.0198,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 1.9047619047619047,
34
+ "grad_norm": 0.0923432782292366,
35
  "learning_rate": 0.00010714285714285715,
36
+ "loss": 0.2508,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 2.380952380952381,
41
+ "grad_norm": 0.010310073383152485,
42
  "learning_rate": 8.333333333333334e-05,
43
+ "loss": 0.0006,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 2.857142857142857,
48
+ "grad_norm": 0.022837914526462555,
49
  "learning_rate": 5.9523809523809524e-05,
50
+ "loss": 0.0011,
51
  "step": 60
52
  },
53
  {
54
  "epoch": 3.3333333333333335,
55
+ "grad_norm": 0.0032586820889264345,
56
  "learning_rate": 3.571428571428572e-05,
57
+ "loss": 0.0002,
58
  "step": 70
59
  },
60
  {
61
  "epoch": 3.8095238095238093,
62
+ "grad_norm": 0.00261130603030324,
63
  "learning_rate": 1.1904761904761905e-05,
64
+ "loss": 0.0001,
65
  "step": 80
66
  },
67
  {
68
  "epoch": 4.0,
69
  "step": 84,
70
+ "total_flos": 2.5417372593586176e+16,
71
+ "train_loss": 0.1902264037302562,
72
+ "train_runtime": 30.4122,
73
+ "train_samples_per_second": 10.785,
74
+ "train_steps_per_second": 2.762
75
  }
76
  ],
77
  "logging_steps": 10,
 
91
  "attributes": {}
92
  }
93
  },
94
+ "total_flos": 2.5417372593586176e+16,
95
  "train_batch_size": 4,
96
  "trial_name": null,
97
  "trial_params": null