tracyqwerty commited on
Commit
296cf65
·
verified ·
1 Parent(s): ff60b1c

End of training

Browse files
Files changed (5) hide show
  1. README.md +3 -1
  2. all_results.json +13 -0
  3. eval_results.json +8 -0
  4. train_results.json +8 -0
  5. trainer_state.json +72 -0
README.md CHANGED
@@ -2,6 +2,8 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
 
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
@@ -15,7 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # vit-base-beans
17
 
18
- This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 0.7707
21
  - Accuracy: 0.9173
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
+ - image-classification
6
+ - vision
7
  - generated_from_trainer
8
  metrics:
9
  - accuracy
 
17
 
18
  # vit-base-beans
19
 
20
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.
21
  It achieves the following results on the evaluation set:
22
  - Loss: 0.7707
23
  - Accuracy: 0.9173
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.9172932330827067,
4
+ "eval_loss": 0.7707005739212036,
5
+ "eval_runtime": 1.358,
6
+ "eval_samples_per_second": 97.939,
7
+ "eval_steps_per_second": 3.682,
8
+ "total_flos": 8.012743541191066e+16,
9
+ "train_loss": 0.8939177845463608,
10
+ "train_runtime": 28.7291,
11
+ "train_samples_per_second": 35.991,
12
+ "train_steps_per_second": 1.149
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.9172932330827067,
4
+ "eval_loss": 0.7707005739212036,
5
+ "eval_runtime": 1.358,
6
+ "eval_samples_per_second": 97.939,
7
+ "eval_steps_per_second": 3.682
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 8.012743541191066e+16,
4
+ "train_loss": 0.8939177845463608,
5
+ "train_runtime": 28.7291,
6
+ "train_samples_per_second": 35.991,
7
+ "train_steps_per_second": 1.149
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7707005739212036,
3
+ "best_model_checkpoint": "./beans_outputs/checkpoint-33",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 33,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.30303030303030304,
13
+ "grad_norm": 1.727879285812378,
14
+ "learning_rate": 1.3939393939393942e-05,
15
+ "loss": 1.0069,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.6060606060606061,
20
+ "grad_norm": 1.4632545709609985,
21
+ "learning_rate": 7.87878787878788e-06,
22
+ "loss": 0.8791,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.9090909090909091,
27
+ "grad_norm": 1.3964664936065674,
28
+ "learning_rate": 1.8181818181818183e-06,
29
+ "loss": 0.8225,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.9172932330827067,
35
+ "eval_loss": 0.7707005739212036,
36
+ "eval_runtime": 1.4349,
37
+ "eval_samples_per_second": 92.687,
38
+ "eval_steps_per_second": 3.484,
39
+ "step": 33
40
+ },
41
+ {
42
+ "epoch": 1.0,
43
+ "step": 33,
44
+ "total_flos": 8.012743541191066e+16,
45
+ "train_loss": 0.8939177845463608,
46
+ "train_runtime": 28.7291,
47
+ "train_samples_per_second": 35.991,
48
+ "train_steps_per_second": 1.149
49
+ }
50
+ ],
51
+ "logging_steps": 10,
52
+ "max_steps": 33,
53
+ "num_input_tokens_seen": 0,
54
+ "num_train_epochs": 1,
55
+ "save_steps": 500,
56
+ "stateful_callbacks": {
57
+ "TrainerControl": {
58
+ "args": {
59
+ "should_epoch_stop": false,
60
+ "should_evaluate": false,
61
+ "should_log": false,
62
+ "should_save": true,
63
+ "should_training_stop": true
64
+ },
65
+ "attributes": {}
66
+ }
67
+ },
68
+ "total_flos": 8.012743541191066e+16,
69
+ "train_batch_size": 32,
70
+ "trial_name": null,
71
+ "trial_params": null
72
+ }