d071696 commited on
Commit
d188d8c
1 Parent(s): a0af973

🍻 cheers

Browse files
README.md CHANGED
@@ -2,12 +2,29 @@
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 +32,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
+ - zero-shot-image-classification
7
  - generated_from_trainer
8
  datasets:
9
  - imagefolder
10
+ metrics:
11
+ - accuracy
12
  model-index:
13
  - name: vit-finetune-scrap
14
+ results:
15
+ - task:
16
+ name: Image Classification
17
+ type: image-classification
18
+ dataset:
19
+ name: d071696/scraps1
20
+ type: imagefolder
21
+ config: default
22
+ split: train
23
+ args: default
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.9333333333333333
28
  ---
29
 
30
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
32
 
33
  # vit-finetune-scrap
34
 
35
+ 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.
36
+ It achieves the following results on the evaluation set:
37
+ - Loss: 1.6026
38
+ - Accuracy: 0.9333
39
 
40
  ## Model description
41
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_accuracy": 0.9,
4
- "eval_loss": 1.5546358823776245,
5
- "eval_runtime": 1.2287,
6
- "eval_samples_per_second": 24.416,
7
- "eval_steps_per_second": 3.255,
8
  "total_flos": 9299872197181440.0,
9
- "train_loss": 2.0122132897377014,
10
- "train_runtime": 8.672,
11
- "train_samples_per_second": 13.838,
12
- "train_steps_per_second": 1.845
13
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 0.9333333333333333,
4
+ "eval_loss": 1.6025978326797485,
5
+ "eval_runtime": 1.2347,
6
+ "eval_samples_per_second": 24.298,
7
+ "eval_steps_per_second": 3.24,
8
  "total_flos": 9299872197181440.0,
9
+ "train_loss": 2.052894949913025,
10
+ "train_runtime": 8.394,
11
+ "train_samples_per_second": 14.296,
12
+ "train_steps_per_second": 1.906
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_accuracy": 0.9,
4
- "eval_loss": 1.5546358823776245,
5
- "eval_runtime": 1.2287,
6
- "eval_samples_per_second": 24.416,
7
- "eval_steps_per_second": 3.255
8
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 0.9333333333333333,
4
+ "eval_loss": 1.6025978326797485,
5
+ "eval_runtime": 1.2347,
6
+ "eval_samples_per_second": 24.298,
7
+ "eval_steps_per_second": 3.24
8
  }
runs/Mar22_11-07-06_X5C922065N/events.out.tfevents.1711102063.X5C922065N.52576.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33459479f1ee63fce272f3f1c468670e279bcc1319c79ade4cf35d07a9870d63
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.0122132897377014,
5
- "train_runtime": 8.672,
6
- "train_samples_per_second": 13.838,
7
- "train_steps_per_second": 1.845
8
  }
 
1
  {
2
  "epoch": 4.0,
3
  "total_flos": 9299872197181440.0,
4
+ "train_loss": 2.052894949913025,
5
+ "train_runtime": 8.394,
6
+ "train_samples_per_second": 14.296,
7
+ "train_steps_per_second": 1.906
8
  }
trainer_state.json CHANGED
@@ -10,19 +10,19 @@
10
  "log_history": [
11
  {
12
  "epoch": 2.5,
13
- "grad_norm": 2.5313448905944824,
14
  "learning_rate": 7.500000000000001e-05,
15
- "loss": 2.2157,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 4.0,
20
  "step": 16,
21
  "total_flos": 9299872197181440.0,
22
- "train_loss": 2.0122132897377014,
23
- "train_runtime": 8.672,
24
- "train_samples_per_second": 13.838,
25
- "train_steps_per_second": 1.845
26
  }
27
  ],
28
  "logging_steps": 10,
 
10
  "log_history": [
11
  {
12
  "epoch": 2.5,
13
+ "grad_norm": 2.4525492191314697,
14
  "learning_rate": 7.500000000000001e-05,
15
+ "loss": 2.2452,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 4.0,
20
  "step": 16,
21
  "total_flos": 9299872197181440.0,
22
+ "train_loss": 2.052894949913025,
23
+ "train_runtime": 8.394,
24
+ "train_samples_per_second": 14.296,
25
+ "train_steps_per_second": 1.906
26
  }
27
  ],
28
  "logging_steps": 10,