d071696 commited on
Commit
5e306ef
1 Parent(s): 980aabd

🍻 cheers

Browse files
README.md CHANGED
@@ -2,12 +2,31 @@
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 +34,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-to-text
7
+ - feature-extraction
8
+ - zero-shot-image-classification
9
  - generated_from_trainer
10
  datasets:
11
  - imagefolder
12
+ metrics:
13
+ - accuracy
14
  model-index:
15
  - name: vit-finetune-scrap
16
+ results:
17
+ - task:
18
+ name: Image Classification
19
+ type: image-classification
20
+ dataset:
21
+ name: d071696/scraps1
22
+ type: imagefolder
23
+ config: default
24
+ split: train
25
+ args: default
26
+ metrics:
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.9
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
34
 
35
  # vit-finetune-scrap
36
 
37
+ 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.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 1.5546
40
+ - Accuracy: 0.9
41
 
42
  ## Model description
43
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_accuracy": 1.0,
4
- "eval_loss": 0.9895318150520325,
5
- "eval_runtime": 1.779,
6
- "eval_samples_per_second": 16.863,
7
- "eval_steps_per_second": 2.248,
8
  "total_flos": 9299872197181440.0,
9
- "train_loss": 1.3567551374435425,
10
- "train_runtime": 9.1428,
11
- "train_samples_per_second": 13.125,
12
- "train_steps_per_second": 1.75
13
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 0.9,
4
+ "eval_loss": 1.5546358823776245,
5
+ "eval_runtime": 1.978,
6
+ "eval_samples_per_second": 15.167,
7
+ "eval_steps_per_second": 2.022,
8
  "total_flos": 9299872197181440.0,
9
+ "train_loss": 2.0122132897377014,
10
+ "train_runtime": 9.4925,
11
+ "train_samples_per_second": 12.642,
12
+ "train_steps_per_second": 1.686
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_accuracy": 1.0,
4
- "eval_loss": 0.9895318150520325,
5
- "eval_runtime": 1.779,
6
- "eval_samples_per_second": 16.863,
7
- "eval_steps_per_second": 2.248
8
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_accuracy": 0.9,
4
+ "eval_loss": 1.5546358823776245,
5
+ "eval_runtime": 1.978,
6
+ "eval_samples_per_second": 15.167,
7
+ "eval_steps_per_second": 2.022
8
  }
runs/Mar22_11-00-46_X5C922065N/events.out.tfevents.1711101808.X5C922065N.52576.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7547b7971065f3c993971d145fda3ac702f077f63a4e3cb9979fe4bee2ef6a0f
3
+ size 405
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 4.0,
3
  "total_flos": 9299872197181440.0,
4
- "train_loss": 1.3567551374435425,
5
- "train_runtime": 9.1428,
6
- "train_samples_per_second": 13.125,
7
- "train_steps_per_second": 1.75
8
  }
 
1
  {
2
  "epoch": 4.0,
3
  "total_flos": 9299872197181440.0,
4
+ "train_loss": 2.0122132897377014,
5
+ "train_runtime": 9.4925,
6
+ "train_samples_per_second": 12.642,
7
+ "train_steps_per_second": 1.686
8
  }
trainer_state.json CHANGED
@@ -10,19 +10,19 @@
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": 9.1428,
24
- "train_samples_per_second": 13.125,
25
- "train_steps_per_second": 1.75
26
  }
27
  ],
28
  "logging_steps": 10,
 
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": 9.4925,
24
+ "train_samples_per_second": 12.642,
25
+ "train_steps_per_second": 1.686
26
  }
27
  ],
28
  "logging_steps": 10,