Isaskar commited on
Commit
1b58577
1 Parent(s): 8406949

Model save

Browse files
Files changed (2) hide show
  1. README.md +88 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/dinov2-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: dinov2-base-ODIR-5K
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: test
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.7563587684069611
27
+ - name: F1
28
+ type: f1
29
+ value: 0.6330645161290323
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # dinov2-base-ODIR-5K
36
+
37
+ This model is a fine-tuned version of [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base) on the imagefolder dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.6111
40
+ - Accuracy: 0.7564
41
+ - F1: 0.6331
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 32
63
+ - seed: 42
64
+ - gradient_accumulation_steps: 4
65
+ - total_train_batch_size: 128
66
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
67
+ - lr_scheduler_type: linear
68
+ - lr_scheduler_warmup_ratio: 0.1
69
+ - num_epochs: 6
70
+
71
+ ### Training results
72
+
73
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
74
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
75
+ | 0.6374 | 0.9858 | 52 | 0.6186 | 0.6778 | 0.2031 |
76
+ | 0.5789 | 1.9905 | 105 | 0.5661 | 0.7153 | 0.3794 |
77
+ | 0.5368 | 2.9953 | 158 | 0.5334 | 0.7407 | 0.5756 |
78
+ | 0.4162 | 4.0 | 211 | 0.5747 | 0.6983 | 0.6198 |
79
+ | 0.3679 | 4.9858 | 263 | 0.5700 | 0.7189 | 0.6333 |
80
+ | 0.2431 | 5.9147 | 312 | 0.6111 | 0.7564 | 0.6331 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.40.2
86
+ - Pytorch 2.2.1+cu121
87
+ - Datasets 2.19.1
88
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f8ff07c29ef3bcbcb87a44b046caab6fe1ba377a31b448694a200a1616f6e99d
3
  size 346359928
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20d1c7bca38b45a8ab5fbd25b0254d71bd1dacfaae36d23a8d53c217113c327c
3
  size 346359928