marwaALzaabi commited on
Commit
dd7372c
·
verified ·
1 Parent(s): a9b4dc0

Initial commit of plant identification detection model

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-large-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: plant-identification-vit
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # plant-identification-vit
18
+
19
+ This model is a fine-tuned version of [google/vit-large-patch16-224-in21k](https://huggingface.co/google/vit-large-patch16-224-in21k) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.0315
22
+ - Accuracy: 0.8096
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 256
43
+ - eval_batch_size: 256
44
+ - seed: 42
45
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 1.0085 | 1.0 | 953 | 1.0659 | 0.7762 |
54
+ | 0.6805 | 2.0 | 1906 | 0.8413 | 0.8029 |
55
+ | 0.5039 | 3.0 | 2859 | 0.7920 | 0.8069 |
56
+ | 0.3847 | 4.0 | 3812 | 0.7760 | 0.8102 |
57
+ | 0.2826 | 5.0 | 4765 | 0.8024 | 0.8049 |
58
+ | 0.2229 | 6.0 | 5718 | 0.8382 | 0.8099 |
59
+ | 0.1064 | 7.0 | 6671 | 0.8983 | 0.8074 |
60
+ | 0.0676 | 8.0 | 7624 | 0.9672 | 0.8072 |
61
+ | 0.027 | 9.0 | 8577 | 1.0089 | 0.8099 |
62
+ | 0.0209 | 10.0 | 9530 | 1.0315 | 0.8096 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.46.3
68
+ - Pytorch 2.4.1+cu124
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa4d884a4de745ed2ddb59c76d988cd35b6de39113c3f8c590af819e148d418b
3
  size 1217685196
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea9a78171094ef2285519bcf57911e77d6090303069db4425c5fed85ef134040
3
  size 1217685196