d071696 commited on
Commit
3c09ef7
1 Parent(s): 36d6b67

🍻 cheers

Browse files
README.md CHANGED
@@ -2,12 +2,30 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
 
 
5
  - generated_from_trainer
6
  datasets:
7
  - imagefolder
 
 
8
  model-index:
9
  - name: vit-finetune-scrap
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,7 +33,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # vit-finetune-scrap
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 the imagefolder dataset.
 
 
 
19
 
20
  ## Model description
21
 
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
+ - image-classification
6
+ - image-feature-extraction
7
+ - image-to-text
8
  - generated_from_trainer
9
  datasets:
10
  - imagefolder
11
+ metrics:
12
+ - accuracy
13
  model-index:
14
  - name: vit-finetune-scrap
15
+ results:
16
+ - task:
17
+ name: Image Classification
18
+ type: image-classification
19
+ dataset:
20
+ name: d071696/scraps1
21
+ type: imagefolder
22
+ config: default
23
+ split: train
24
+ args: default
25
+ metrics:
26
+ - name: Accuracy
27
+ type: accuracy
28
+ value: 0.9666666666666667
29
  ---
30
 
31
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
33
 
34
  # vit-finetune-scrap
35
 
36
+ 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 d071696/scraps1 dataset.
37
+ It achieves the following results on the evaluation set:
38
+ - Loss: 1.6106
39
+ - Accuracy: 0.9667
40
 
41
  ## Model description
42
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_accuracy": 0.8666666666666667,
4
- "eval_loss": 1.6352765560150146,
5
- "eval_runtime": 1.6898,
6
- "eval_samples_per_second": 17.753,
7
- "eval_steps_per_second": 2.367,
8
  "total_flos": 9299872197181440.0,
9
- "train_loss": 2.0607935786247253,
10
- "train_runtime": 16.8831,
11
- "train_samples_per_second": 7.108,
12
- "train_steps_per_second": 0.948
13
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 0.9666666666666667,
4
+ "eval_loss": 1.6106475591659546,
5
+ "eval_runtime": 2.2515,
6
+ "eval_samples_per_second": 13.325,
7
+ "eval_steps_per_second": 1.777,
8
  "total_flos": 9299872197181440.0,
9
+ "train_loss": 2.0597532987594604,
10
+ "train_runtime": 8.5801,
11
+ "train_samples_per_second": 13.986,
12
+ "train_steps_per_second": 1.865
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_accuracy": 0.8666666666666667,
4
- "eval_loss": 1.6352765560150146,
5
- "eval_runtime": 1.6898,
6
- "eval_samples_per_second": 17.753,
7
- "eval_steps_per_second": 2.367
8
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 0.9666666666666667,
4
+ "eval_loss": 1.6106475591659546,
5
+ "eval_runtime": 2.2515,
6
+ "eval_samples_per_second": 13.325,
7
+ "eval_steps_per_second": 1.777
8
  }
runs/Mar22_10-44-15_X5C922065N/events.out.tfevents.1711100691.X5C922065N.52576.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42bdb712b4bfcbead734836ee1929d93d8a3fa30306033c3c1fab46c4cd898d9
3
+ size 405
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
  "total_flos": 9299872197181440.0,
4
- "train_loss": 2.0607935786247253,
5
- "train_runtime": 16.8831,
6
- "train_samples_per_second": 7.108,
7
- "train_steps_per_second": 0.948
8
  }
 
1
  {
2
  "epoch": 4.0,
3
  "total_flos": 9299872197181440.0,
4
+ "train_loss": 2.0597532987594604,
5
+ "train_runtime": 8.5801,
6
+ "train_samples_per_second": 13.986,
7
+ "train_steps_per_second": 1.865
8
  }
trainer_state.json CHANGED
@@ -10,19 +10,19 @@
10
  "log_history": [
11
  {
12
  "epoch": 2.5,
13
- "grad_norm": 2.7056047916412354,
14
  "learning_rate": 7.500000000000001e-05,
15
- "loss": 2.239,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 4.0,
20
  "step": 16,
21
  "total_flos": 9299872197181440.0,
22
- "train_loss": 2.0607935786247253,
23
- "train_runtime": 16.8831,
24
- "train_samples_per_second": 7.108,
25
- "train_steps_per_second": 0.948
26
  }
27
  ],
28
  "logging_steps": 10,
 
10
  "log_history": [
11
  {
12
  "epoch": 2.5,
13
+ "grad_norm": 2.4165334701538086,
14
  "learning_rate": 7.500000000000001e-05,
15
+ "loss": 2.2555,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 4.0,
20
  "step": 16,
21
  "total_flos": 9299872197181440.0,
22
+ "train_loss": 2.0597532987594604,
23
+ "train_runtime": 8.5801,
24
+ "train_samples_per_second": 13.986,
25
+ "train_steps_per_second": 1.865
26
  }
27
  ],
28
  "logging_steps": 10,