End of training
Browse files- README.md +80 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_1
|
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_1
|
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.2482
|
21 |
+
- Accuracy: 0.7
|
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: 18
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
55 |
+
| 2.974 | 0.9787 | 23 | 2.9288 | 0.1573 |
|
56 |
+
| 2.8301 | 2.0 | 47 | 2.6713 | 0.5173 |
|
57 |
+
| 2.3995 | 2.9787 | 70 | 2.3223 | 0.5707 |
|
58 |
+
| 2.112 | 4.0 | 94 | 2.0321 | 0.604 |
|
59 |
+
| 1.8965 | 4.9787 | 117 | 1.8377 | 0.6133 |
|
60 |
+
| 1.6807 | 6.0 | 141 | 1.6895 | 0.6307 |
|
61 |
+
| 1.4942 | 6.9787 | 164 | 1.5807 | 0.6693 |
|
62 |
+
| 1.3849 | 8.0 | 188 | 1.5080 | 0.664 |
|
63 |
+
| 1.2975 | 8.9787 | 211 | 1.4605 | 0.6613 |
|
64 |
+
| 1.1747 | 10.0 | 235 | 1.3888 | 0.692 |
|
65 |
+
| 1.1457 | 10.9787 | 258 | 1.3622 | 0.692 |
|
66 |
+
| 1.0602 | 12.0 | 282 | 1.3318 | 0.6893 |
|
67 |
+
| 1.0296 | 12.9787 | 305 | 1.2968 | 0.7133 |
|
68 |
+
| 0.9556 | 14.0 | 329 | 1.2999 | 0.676 |
|
69 |
+
| 0.9317 | 14.9787 | 352 | 1.2625 | 0.7053 |
|
70 |
+
| 0.9134 | 16.0 | 376 | 1.2656 | 0.696 |
|
71 |
+
| 0.914 | 16.9787 | 399 | 1.2593 | 0.7013 |
|
72 |
+
| 0.9013 | 17.6170 | 414 | 1.2482 | 0.7 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.41.2
|
78 |
+
- Pytorch 2.1.2
|
79 |
+
- Datasets 2.19.2
|
80 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343279344
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:548829267d5b1ce623ed3afce13e4f4b95051a9fd28e7f5bff4db74f32cb4ef0
|
3 |
size 343279344
|