dchen0 commited on
Commit
3adb143
·
verified ·
1 Parent(s): f8cb7dc

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: image-classification
4
+ library_name: transformers
5
+ tags:
6
+ - dinov2
7
+ - image-classification
8
+ - fonts
9
+ datasets:
10
+ - dchen0/font_crops_v3
11
+ language:
12
+ - en
13
+ base_model:
14
+ - facebook/dinov2-base
15
+ ---
16
+
17
+ # dchen0/font-classifier
18
+ Merged DINOv2‑base checkpoint with LoRA weights for font classification.
19
+
20
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
21
+ should probably proofread and complete it, then remove this comment. -->
22
+
23
+ This model is a fine-tuned version of [facebook/dinov2-base-imagenet1k-1-layer](https://huggingface.co/facebook/dinov2-base-imagenet1k-1-layer) on the imagefolder dataset.
24
+ It achieves the following results on the evaluation set:
25
+ - Loss: 1.3446824550628662
26
+ - Accuracy: 0.5903
27
+
28
+
29
+ ## Training procedure
30
+
31
+ ### Training hyperparameters
32
+
33
+ The following hyperparameters were used during training:
34
+ -learning_rate 1e-4
35
+ -lora_rank 8
36
+ -lora_alpha 16
37
+ -lora_dropout 0.1
38
+ - train_batch_size: 32
39
+ - eval_batch_size: 32
40
+ - seed: 42
41
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
42
+ - lr_scheduler_type: linear
43
+
44
+ ### Framework versions
45
+
46
+ - PEFT 0.15.2
47
+ - Transformers 4.52.4
48
+ - Pytorch 2.7.1
49
+ - Datasets 3.6.0
50
+ - Tokenizers 0.21.1