tejp commited on
Commit
e97df86
·
1 Parent(s): 916182c

tejp/custom_dataset_augmented

Browse files
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: custom_dataset_augmented
20
+ type: imagefolder
21
+ config: default
22
+ split: validation
23
+ args: default
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.23333333333333334
28
+ - name: F1
29
+ type: f1
30
+ value: 0.04545454545454546
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 custom_dataset_augmented dataset.
39
+ It achieves the following results on the evaluation set:
40
+ - Loss: 2.2134
41
+ - Accuracy: 0.2333
42
+ - F1: 0.0455
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,14 +1,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
  }
 
1
  {
2
  "epoch": 10.0,
3
+ "eval_accuracy": 0.23333333333333334,
4
+ "eval_f1": 0.04545454545454546,
5
+ "eval_loss": 2.2134079933166504,
6
+ "eval_runtime": 114.405,
7
+ "eval_samples_per_second": 0.262,
8
+ "eval_steps_per_second": 0.035,
9
+ "total_flos": 4.417518470787072e+16,
10
+ "train_loss": 1.5968769073486329,
11
+ "train_runtime": 3123.5571,
12
+ "train_samples_per_second": 0.182,
13
+ "train_steps_per_second": 0.006
14
  }
eval_results.json CHANGED
@@ -1,9 +1,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
  }
 
1
  {
2
  "epoch": 10.0,
3
+ "eval_accuracy": 0.23333333333333334,
4
+ "eval_f1": 0.04545454545454546,
5
+ "eval_loss": 2.2134079933166504,
6
+ "eval_runtime": 114.405,
7
+ "eval_samples_per_second": 0.262,
8
+ "eval_steps_per_second": 0.035
9
  }
test_results.json CHANGED
@@ -1,8 +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
  }
 
1
  {
2
  "epoch": 10.0,
3
+ "total_flos": 4.417518470787072e+16,
4
+ "train_loss": 1.5968769073486329,
5
+ "train_runtime": 3123.5571,
6
+ "train_samples_per_second": 0.182,
7
+ "train_steps_per_second": 0.006
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": 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
  }
 
3
  "best_model_checkpoint": null,
4
  "epoch": 10.0,
5
  "eval_steps": 1000,
6
+ "global_step": 20,
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": 20,
14
+ "total_flos": 4.417518470787072e+16,
15
+ "train_loss": 1.5968769073486329,
16
+ "train_runtime": 3123.5571,
17
+ "train_samples_per_second": 0.182,
18
+ "train_steps_per_second": 0.006
19
  }
20
  ],
21
  "logging_steps": 1000,
22
+ "max_steps": 20,
23
  "num_train_epochs": 10,
24
  "save_steps": 1000,
25
+ "total_flos": 4.417518470787072e+16,
26
  "trial_name": null,
27
  "trial_params": null
28
  }
validation_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 4.417518470787072e+16,
4
+ "train_loss": 1.5968769073486329,
5
+ "train_runtime": 3123.5571,
6
+ "train_samples_per_second": 0.182,
7
+ "train_steps_per_second": 0.006
8
+ }