tejp commited on
Commit
b89fad0
1 Parent(s): 50695ff

tejp/test_train

Browse files
Files changed (5) hide show
  1. README.md +26 -2
  2. all_results.json +11 -11
  3. eval_results.json +6 -6
  4. test_results.json +8 -0
  5. trainer_state.json +9 -9
README.md CHANGED
@@ -2,12 +2,32 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224
4
  tags:
 
5
  - generated_from_trainer
6
  datasets:
7
  - imagefolder
 
 
 
8
  model-index:
9
  - name: fine-tuned-augmented
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,7 +35,11 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # fine-tuned-augmented
17
 
18
- This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
 
 
 
 
19
 
20
  ## Model description
21
 
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224
4
  tags:
5
+ - image-classification
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ - f1
12
  model-index:
13
  - name: fine-tuned-augmented
14
+ results:
15
+ - task:
16
+ name: Image Classification
17
+ type: image-classification
18
+ dataset:
19
+ name: test_train
20
+ type: imagefolder
21
+ config: default
22
+ split: test
23
+ args: default
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 1.0
28
+ - name: F1
29
+ type: f1
30
+ value: 1.0
31
  ---
32
 
33
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
35
 
36
  # fine-tuned-augmented
37
 
38
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the test_train dataset.
39
+ It achieves the following results on the evaluation set:
40
+ - Loss: 0.0120
41
+ - Accuracy: 1.0
42
+ - F1: 1.0
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "epoch": 10.0,
3
- "eval_accuracy": 0.6065573770491803,
4
- "eval_f1": 0.3511904761904762,
5
- "eval_loss": 0.984711766242981,
6
- "eval_runtime": 477.8963,
7
- "eval_samples_per_second": 0.255,
8
- "eval_steps_per_second": 0.033,
9
- "total_flos": 9.455039533965312e+16,
10
- "train_loss": 1.3333355903625488,
11
- "train_runtime": 6360.4744,
12
- "train_samples_per_second": 0.192,
13
- "train_steps_per_second": 0.006
14
  }
 
1
  {
2
  "epoch": 10.0,
3
+ "eval_accuracy": 1.0,
4
+ "eval_f1": 1.0,
5
+ "eval_loss": 0.01199085172265768,
6
+ "eval_runtime": 31.5492,
7
+ "eval_samples_per_second": 0.222,
8
+ "eval_steps_per_second": 0.032,
9
+ "total_flos": 5424439273021440.0,
10
+ "train_loss": 0.1331296443939209,
11
+ "train_runtime": 406.2981,
12
+ "train_samples_per_second": 0.172,
13
+ "train_steps_per_second": 0.025
14
  }
eval_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 10.0,
3
- "eval_accuracy": 0.6065573770491803,
4
- "eval_f1": 0.3511904761904762,
5
- "eval_loss": 0.984711766242981,
6
- "eval_runtime": 477.8963,
7
- "eval_samples_per_second": 0.255,
8
- "eval_steps_per_second": 0.033
9
  }
 
1
  {
2
  "epoch": 10.0,
3
+ "eval_accuracy": 1.0,
4
+ "eval_f1": 1.0,
5
+ "eval_loss": 0.01199085172265768,
6
+ "eval_runtime": 31.5492,
7
+ "eval_samples_per_second": 0.222,
8
+ "eval_steps_per_second": 0.032
9
  }
test_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 5424439273021440.0,
4
+ "train_loss": 0.1331296443939209,
5
+ "train_runtime": 406.2981,
6
+ "train_samples_per_second": 0.172,
7
+ "train_steps_per_second": 0.025
8
+ }
trainer_state.json CHANGED
@@ -3,26 +3,26 @@
3
  "best_model_checkpoint": null,
4
  "epoch": 10.0,
5
  "eval_steps": 1000,
6
- "global_step": 40,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
  "epoch": 10.0,
13
- "step": 40,
14
- "total_flos": 9.455039533965312e+16,
15
- "train_loss": 1.3333355903625488,
16
- "train_runtime": 6360.4744,
17
- "train_samples_per_second": 0.192,
18
- "train_steps_per_second": 0.006
19
  }
20
  ],
21
  "logging_steps": 1000,
22
- "max_steps": 40,
23
  "num_train_epochs": 10,
24
  "save_steps": 1000,
25
- "total_flos": 9.455039533965312e+16,
26
  "trial_name": null,
27
  "trial_params": null
28
  }
 
3
  "best_model_checkpoint": null,
4
  "epoch": 10.0,
5
  "eval_steps": 1000,
6
+ "global_step": 10,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
  "epoch": 10.0,
13
+ "step": 10,
14
+ "total_flos": 5424439273021440.0,
15
+ "train_loss": 0.1331296443939209,
16
+ "train_runtime": 406.2981,
17
+ "train_samples_per_second": 0.172,
18
+ "train_steps_per_second": 0.025
19
  }
20
  ],
21
  "logging_steps": 1000,
22
+ "max_steps": 10,
23
  "num_train_epochs": 10,
24
  "save_steps": 1000,
25
+ "total_flos": 5424439273021440.0,
26
  "trial_name": null,
27
  "trial_params": null
28
  }