Dugerij commited on
Commit
1a17813
·
verified ·
1 Parent(s): 49c0bf8

End of training

Browse files
README.md CHANGED
@@ -3,7 +3,11 @@ library_name: transformers
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224
5
  tags:
 
 
6
  - generated_from_trainer
 
 
7
  model-index:
8
  - name: dummy_classification_model
9
  results: []
@@ -14,7 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # dummy_classification_model
16
 
17
- 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.
 
 
 
18
 
19
  ## Model description
20
 
 
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224
5
  tags:
6
+ - image-classification
7
+ - vision
8
  - generated_from_trainer
9
+ metrics:
10
+ - accuracy
11
  model-index:
12
  - name: dummy_classification_model
13
  results: []
 
18
 
19
  # dummy_classification_model
20
 
21
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the taresco/newspaper_ocr dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0136
24
+ - Accuracy: 0.9969
25
 
26
  ## Model description
27
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9968608301360307,
4
+ "eval_loss": 0.01357336901128292,
5
+ "eval_runtime": 109.9389,
6
+ "eval_samples_per_second": 26.078,
7
+ "eval_steps_per_second": 1.637,
8
+ "total_flos": 3.7763396378982973e+18,
9
+ "train_loss": 0.007946457738286554,
10
+ "train_runtime": 2551.8222,
11
+ "train_samples_per_second": 19.097,
12
+ "train_steps_per_second": 1.194
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9968608301360307,
4
+ "eval_loss": 0.01357336901128292,
5
+ "eval_runtime": 109.9389,
6
+ "eval_samples_per_second": 26.078,
7
+ "eval_steps_per_second": 1.637
8
+ }
runs/Apr28_17-53-29_270752f1e90d/events.out.tfevents.1745865654.270752f1e90d.96.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:765dd12adbc2ccc2c74e903e0323b5435cc5ff0c56d0a13988a62d520f6e61bc
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 3.7763396378982973e+18,
4
+ "train_loss": 0.007946457738286554,
5
+ "train_runtime": 2551.8222,
6
+ "train_samples_per_second": 19.097,
7
+ "train_steps_per_second": 1.194
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 3048,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.4921259842519685,
14
+ "grad_norm": 0.0023708906956017017,
15
+ "learning_rate": 4.181430446194226e-05,
16
+ "loss": 0.0182,
17
+ "step": 500
18
+ },
19
+ {
20
+ "epoch": 0.984251968503937,
21
+ "grad_norm": 0.005748015828430653,
22
+ "learning_rate": 3.361220472440945e-05,
23
+ "loss": 0.0125,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 1.4763779527559056,
28
+ "grad_norm": 0.020883610472083092,
29
+ "learning_rate": 2.5410104986876644e-05,
30
+ "loss": 0.0055,
31
+ "step": 1500
32
+ },
33
+ {
34
+ "epoch": 1.968503937007874,
35
+ "grad_norm": 0.0016900873742997646,
36
+ "learning_rate": 1.7208005249343835e-05,
37
+ "loss": 0.0073,
38
+ "step": 2000
39
+ },
40
+ {
41
+ "epoch": 2.4606299212598426,
42
+ "grad_norm": 0.0035135194193571806,
43
+ "learning_rate": 9.005905511811025e-06,
44
+ "loss": 0.0021,
45
+ "step": 2500
46
+ },
47
+ {
48
+ "epoch": 2.952755905511811,
49
+ "grad_norm": 0.0004347392823547125,
50
+ "learning_rate": 8.038057742782153e-07,
51
+ "loss": 0.0024,
52
+ "step": 3000
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "step": 3048,
57
+ "total_flos": 3.7763396378982973e+18,
58
+ "train_loss": 0.007946457738286554,
59
+ "train_runtime": 2551.8222,
60
+ "train_samples_per_second": 19.097,
61
+ "train_steps_per_second": 1.194
62
+ }
63
+ ],
64
+ "logging_steps": 500,
65
+ "max_steps": 3048,
66
+ "num_input_tokens_seen": 0,
67
+ "num_train_epochs": 3,
68
+ "save_steps": 500,
69
+ "stateful_callbacks": {
70
+ "TrainerControl": {
71
+ "args": {
72
+ "should_epoch_stop": false,
73
+ "should_evaluate": false,
74
+ "should_log": false,
75
+ "should_save": true,
76
+ "should_training_stop": true
77
+ },
78
+ "attributes": {}
79
+ }
80
+ },
81
+ "total_flos": 3.7763396378982973e+18,
82
+ "train_batch_size": 16,
83
+ "trial_name": null,
84
+ "trial_params": null
85
+ }