d071696 commited on
Commit
c12bfa8
1 Parent(s): c0b38fb

🍻 cheers

Browse files
README.md CHANGED
@@ -2,12 +2,28 @@
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 +31,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
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
9
+ metrics:
10
+ - accuracy
11
  model-index:
12
  - name: vit-finetune-scrap
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: d071696/scraps1
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 1.0
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # vit-finetune-scrap
33
 
34
+ 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.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.9895
37
+ - Accuracy: 1.0
38
 
39
  ## Model description
40
 
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.2259,
6
- "eval_samples_per_second": 24.472,
7
- "eval_steps_per_second": 3.263,
8
  "total_flos": 9299872197181440.0,
9
- "train_loss": 2.0122132897377014,
10
- "train_runtime": 8.5249,
11
- "train_samples_per_second": 14.076,
12
- "train_steps_per_second": 1.877
13
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 1.0,
4
+ "eval_loss": 0.9895318150520325,
5
+ "eval_runtime": 1.234,
6
+ "eval_samples_per_second": 24.312,
7
+ "eval_steps_per_second": 3.242,
8
  "total_flos": 9299872197181440.0,
9
+ "train_loss": 1.3567551374435425,
10
+ "train_runtime": 8.4448,
11
+ "train_samples_per_second": 14.21,
12
+ "train_steps_per_second": 1.895
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.2259,
6
- "eval_samples_per_second": 24.472,
7
- "eval_steps_per_second": 3.263
8
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 1.0,
4
+ "eval_loss": 0.9895318150520325,
5
+ "eval_runtime": 1.234,
6
+ "eval_samples_per_second": 24.312,
7
+ "eval_steps_per_second": 3.242
8
  }
runs/Mar22_11-10-32_X5C922065N/events.out.tfevents.1711102248.X5C922065N.52576.16 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:486e89669e83a33c8982e9c7f61da8b1390e437ad07969ed366f6d8102b94139
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.5249,
6
- "train_samples_per_second": 14.076,
7
- "train_steps_per_second": 1.877
8
  }
 
1
  {
2
  "epoch": 4.0,
3
  "total_flos": 9299872197181440.0,
4
+ "train_loss": 1.3567551374435425,
5
+ "train_runtime": 8.4448,
6
+ "train_samples_per_second": 14.21,
7
+ "train_steps_per_second": 1.895
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.5249,
24
- "train_samples_per_second": 14.076,
25
- "train_steps_per_second": 1.877
26
  }
27
  ],
28
  "logging_steps": 10,
 
10
  "log_history": [
11
  {
12
  "epoch": 2.5,
13
+ "grad_norm": 2.364220142364502,
14
  "learning_rate": 7.500000000000001e-05,
15
+ "loss": 1.5278,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 4.0,
20
  "step": 16,
21
  "total_flos": 9299872197181440.0,
22
+ "train_loss": 1.3567551374435425,
23
+ "train_runtime": 8.4448,
24
+ "train_samples_per_second": 14.21,
25
+ "train_steps_per_second": 1.895
26
  }
27
  ],
28
  "logging_steps": 10,