Commit
•
22593ab
1
Parent(s):
4a34fb8
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: Crop_Disease_model
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# Crop_Disease_model
|
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 an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.4412
|
21 |
+
- Accuracy: 0.6533
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 32
|
42 |
+
- eval_batch_size: 32
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 128
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
49 |
+
- num_epochs: 15
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
55 |
+
| 2.9809 | 0.9787 | 23 | 2.9338 | 0.144 |
|
56 |
+
| 2.7916 | 2.0 | 47 | 2.6349 | 0.4693 |
|
57 |
+
| 2.3529 | 2.9787 | 70 | 2.3237 | 0.4973 |
|
58 |
+
| 2.0897 | 4.0 | 94 | 2.0598 | 0.532 |
|
59 |
+
| 1.8713 | 4.9787 | 117 | 1.8989 | 0.5453 |
|
60 |
+
| 1.6276 | 6.0 | 141 | 1.7701 | 0.584 |
|
61 |
+
| 1.5641 | 6.9787 | 164 | 1.6756 | 0.612 |
|
62 |
+
| 1.4144 | 8.0 | 188 | 1.6190 | 0.62 |
|
63 |
+
| 1.3294 | 8.9787 | 211 | 1.5457 | 0.6373 |
|
64 |
+
| 1.2586 | 10.0 | 235 | 1.4913 | 0.644 |
|
65 |
+
| 1.2052 | 10.9787 | 258 | 1.4816 | 0.6227 |
|
66 |
+
| 1.1644 | 12.0 | 282 | 1.4547 | 0.6387 |
|
67 |
+
| 1.1158 | 12.9787 | 305 | 1.4392 | 0.6453 |
|
68 |
+
| 1.0931 | 14.0 | 329 | 1.4277 | 0.6507 |
|
69 |
+
| 1.0969 | 14.6809 | 345 | 1.4412 | 0.6533 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.41.2
|
75 |
+
- Pytorch 2.1.2
|
76 |
+
- Datasets 2.19.2
|
77 |
+
- Tokenizers 0.19.1
|