yuighj123 commited on
Commit
948a103
1 Parent(s): 854e955

🍻 cheers

Browse files
README.md CHANGED
@@ -2,7 +2,10 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
5
  - generated_from_trainer
 
 
6
  model-index:
7
  - name: image_classification_covid19
8
  results: []
@@ -13,7 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # image_classification_covid19
15
 
16
- 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.
 
 
 
17
 
18
  ## Model description
19
 
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
+ - image-classification
6
  - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
  model-index:
10
  - name: image_classification_covid19
11
  results: []
 
16
 
17
  # image_classification_covid19
18
 
19
+ 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 covid-19 datasets dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.2704
22
+ - Accuracy: 0.8939
23
 
24
  ## Model description
25
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.8939393939393939,
4
+ "eval_loss": 0.2703968286514282,
5
+ "eval_runtime": 1.3416,
6
+ "eval_samples_per_second": 49.193,
7
+ "eval_steps_per_second": 6.708,
8
+ "total_flos": 7.780265488738714e+16,
9
+ "train_loss": 0.4349986780434847,
10
+ "train_runtime": 34.4492,
11
+ "train_samples_per_second": 29.144,
12
+ "train_steps_per_second": 1.858
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.8939393939393939,
4
+ "eval_loss": 0.2703968286514282,
5
+ "eval_runtime": 1.3416,
6
+ "eval_samples_per_second": 49.193,
7
+ "eval_steps_per_second": 6.708
8
+ }
runs/Jul06_07-20-12_11307665f211/events.out.tfevents.1720250717.11307665f211.573.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2c16f465dfc16dbb3a7b17b95d69e062c2050567f17e7885c9ac2aedf892a34
3
+ size 405
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 7.780265488738714e+16,
4
+ "train_loss": 0.4349986780434847,
5
+ "train_runtime": 34.4492,
6
+ "train_samples_per_second": 29.144,
7
+ "train_steps_per_second": 1.858
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
+ "eval_steps": 100,
6
+ "global_step": 64,
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.625,
13
+ "grad_norm": 1.1638071537017822,
14
+ "learning_rate": 0.00016875,
15
+ "loss": 0.8303,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 1.25,
20
+ "grad_norm": 1.2804111242294312,
21
+ "learning_rate": 0.0001375,
22
+ "loss": 0.5166,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 1.875,
27
+ "grad_norm": 3.433356523513794,
28
+ "learning_rate": 0.00010625000000000001,
29
+ "loss": 0.503,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 2.5,
34
+ "grad_norm": 3.124768018722534,
35
+ "learning_rate": 7.500000000000001e-05,
36
+ "loss": 0.3796,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 3.125,
41
+ "grad_norm": 1.8484621047973633,
42
+ "learning_rate": 4.375e-05,
43
+ "loss": 0.2372,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 3.75,
48
+ "grad_norm": 1.7986748218536377,
49
+ "learning_rate": 1.25e-05,
50
+ "loss": 0.2453,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 4.0,
55
+ "step": 64,
56
+ "total_flos": 7.780265488738714e+16,
57
+ "train_loss": 0.4349986780434847,
58
+ "train_runtime": 34.4492,
59
+ "train_samples_per_second": 29.144,
60
+ "train_steps_per_second": 1.858
61
+ }
62
+ ],
63
+ "logging_steps": 10,
64
+ "max_steps": 64,
65
+ "num_input_tokens_seen": 0,
66
+ "num_train_epochs": 4,
67
+ "save_steps": 100,
68
+ "stateful_callbacks": {
69
+ "TrainerControl": {
70
+ "args": {
71
+ "should_epoch_stop": false,
72
+ "should_evaluate": false,
73
+ "should_log": false,
74
+ "should_save": false,
75
+ "should_training_stop": false
76
+ },
77
+ "attributes": {}
78
+ }
79
+ },
80
+ "total_flos": 7.780265488738714e+16,
81
+ "train_batch_size": 16,
82
+ "trial_name": null,
83
+ "trial_params": null
84
+ }