File size: 6,290 Bytes
ecf467c
f0b917e
ecf467c
 
 
12d5b16
ecf467c
 
 
 
4cb08d1
 
 
 
 
 
 
ecf467c
 
 
 
 
b5c98f5
ecf467c
b5c98f5
41f85ac
ecf467c
 
41f85ac
f0b917e
41f85ac
cecf50f
 
 
 
 
 
 
 
 
41f85ac
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
 
cecf50f
41f85ac
cecf50f
41f85ac
ecf467c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
---
language: en
license: apache-2.0
tags:
- generated_from_trainer
- image-classification
datasets:
- beans
metrics:
- accuracy
widget:
- src: https://huggingface.co/nateraw/vit-base-beans/resolve/main/healthy.jpeg
  example_title: Healthy
- src: https://huggingface.co/nateraw/vit-base-beans/resolve/main/angular_leaf_spot.jpeg
  example_title: Angular Leaf Spot
- src: https://huggingface.co/nateraw/vit-base-beans/resolve/main/bean_rust.jpeg
  example_title: Bean Rust
model-index:
- name: vit-base-beans
  results:
  - task:
      type: image-classification
      name: Image Classification
    dataset:
      name: beans
      type: beans
      args: default
    metrics:
    - type: accuracy
      value: 0.9774436090225563
      name: Accuracy
  - task:
      type: image-classification
      name: Image Classification
    dataset:
      name: beans
      type: beans
      config: default
      split: test
    metrics:
    - type: accuracy
      value: 0.9453125
      name: Accuracy
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNzE4OTNkMmIwZDJhNmEzZGM2NzcxMWMyODhlM2NiM2FkY2Y2ZDdhNzUwMTdhMDdhNDg5NjA0MGNlYzYyYzY0NCIsInZlcnNpb24iOjF9.wwUmRnAJskyiz_MGOwaG5MkX_Q6is5ZqKIuCEo3i3QLCAwIEeZsodGALhm_DBE0P0BMUWCk8SJSvVTADJceQAA
    - type: precision
      value: 0.9453325082933705
      name: Precision Macro
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYjE4ODc1OTM2MGIwMTM4M2QzNGJjMDJiZjExNDY3NzUxZWYxOTY3MDk1YzkwZmNmMjc3YWYxYzQ5ZDlhMDBhNiIsInZlcnNpb24iOjF9.7K8IHLSDwCeyA7RdUaLRCrN2sQnXphP3unQnDmJCDg_xURbOMWn7IdufsV8q_qjcDVCy7OwsffnYL9xw8KOmCw
    - type: precision
      value: 0.9453125
      name: Precision Micro
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiOTVkYjQ4NTUzYTM0ZGMwOThkOTBjZWQ3MTJlMzIyMDhlOWMwMjUzYTg1NDcwYTcyY2QzOGM0MzY3NDE1NzU0YSIsInZlcnNpb24iOjF9._HCFVMp2DxiLhgJWadBKwDIptnLxAdaok_yK2Qsl9kxTFoWid8Cg0HI6SYsIL1WmEXhW1SwePuJFRAzOPQedCA
    - type: precision
      value: 0.9452605321507761
      name: Precision Weighted
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMmU2ZWY0OGU2MDBjNjQ4NzE0NjFmYWI1NTVmZDRjNDRiNGI2ZWNkOTYzMmJhZjljYzkzZjRmZjJiYzRkNGY5NCIsInZlcnNpb24iOjF9.WWilSaL_XaubBI519uG0CtoAR5ASl1KVAzJEqfz4yUAn0AG5p6vRnky82f7cHHoFv9ZLhKjQs8HJPG5hqNV1CA
    - type: recall
      value: 0.945736434108527
      name: Recall Macro
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTJhOTBkYzAwNzJlZWFiNzZkNDg1ZTU0YTY2ODRhODRmNzFiYTM0ODcxZmU3MjlkNzBlNjM1NTZjOWMyZjdlOSIsInZlcnNpb24iOjF9.7KPVpzAxAd_70p5jJMDxQm6dwEQ_Ln3xhPFx6IfamJ8u8qFAe9vFPuLddz8w4W3keCYAaxC-5Y13_jLHpRv_BA
    - type: recall
      value: 0.9453125
      name: Recall Micro
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiM2IwZmU0YmYyMDZjNGQ3MjBjNmU0NDEzNDY3ZjQ0Yjc4NmM1NWJhMThjY2Y5NTY0NzJkYTRlNGY1YmExOGQ4MyIsInZlcnNpb24iOjF9.f3ZBu_rNCViY3Uif9qBgDn5XhjfZ_qAlkCle1kANcOUmeAr6AiHn2IHe0XYC6XBfL64N-lK45LlYHX82bF-PAw
    - type: recall
      value: 0.9453125
      name: Recall Weighted
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZTdhMzQzY2E5ODJkZGM2NjI4MTliYzQyMzdhOTcwNGMwYmJmNjE2MTMyZTI1NmNkZTU1OGY2NGUyMTAwNTNjYiIsInZlcnNpb24iOjF9.EUo_jYaX8Xxo_DPtljm91_4cjDz2_Vvwb-aC9sQiokizxLi7ydSKGQyBn2rwSCEhdV3Bgoljkozru0zy5hPBCg
    - type: f1
      value: 0.9451827242524917
      name: F1 Macro
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNDUyYzcwOWU0OGJkNGQ4NjAzNmIwZTU2MWNjMmUwZmMyOTliMTBkOTM5MDRiYzkyOGI1YTQxMzU0ODMxM2E1YiIsInZlcnNpb24iOjF9.cA70lp192tqDNjDoXoYaDpN3oOH_FdD9UDCpwHfoZxUlT5bFikeeX6joaJc8Xq5PTHGg00UVSkCFwFfEFUuNBg
    - type: f1
      value: 0.9453125
      name: F1 Micro
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiY2Y3NzIxZGQyM2ZmNGI2ZDM4YjRkMzEzYzhiYTUyOGFlN2FhMjEyN2YzY2M3ZDFhOTc3MWExOWFlMWFiOTZjNyIsInZlcnNpb24iOjF9.ZIM35jCeGH8S38w-DLTPWRXWZIHY5lCw8W_TO4CIwNTceU2iAjrdZph4EbtXnmbJYJXVtbEWm5Up4-ltVEGGBQ
    - type: f1
      value: 0.944936150332226
      name: F1 Weighted
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzFjZDhlNGE4N2ZhOWVmMzBjNzMxMWQxNGZiYjlkODhkNGU1YmY2YTQ2NzJmOTk4ZWY5MzUzNzI5NmMzOWVjYyIsInZlcnNpb24iOjF9.Uz0c_zd8SZKAF1B4Z9NN9_klaTUNwi9u0fIzkeVSE0ah12wIJVpTmy-uukS-0vvgpvQ3ogxEfgXi97vfBQcNAA
    - type: loss
      value: 0.26030588150024414
      name: loss
      verified: true
      verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMjBkNzFiNzIwYjMyMWNhYWM4MzIyMzc1MzNlNDcxZTg3ZDcxNGUxZDg0MTgzYThlMGVjNzI1NDlhYTJjZDJkZCIsInZlcnNpb24iOjF9.VWvtgfJd1-BoaXofW4MhVK6_1dkLHgXKirSRXsfBUdkMkhRymcAai7tku35tNfqDpUJpqJHN0s56x7FbNbxoBQ
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# vit-base-beans

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 beans dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0942
- Accuracy: 0.9774

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 1337
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.2809        | 1.0   | 130  | 0.2287          | 0.9699   |
| 0.1097        | 2.0   | 260  | 0.1676          | 0.9624   |
| 0.1027        | 3.0   | 390  | 0.0942          | 0.9774   |
| 0.0923        | 4.0   | 520  | 0.1104          | 0.9699   |
| 0.1726        | 5.0   | 650  | 0.1030          | 0.9699   |


### Framework versions

- Transformers 4.10.0.dev0
- Pytorch 1.9.0+cu102
- Datasets 1.11.1.dev0
- Tokenizers 0.10.3