tangg555 commited on
Commit
c59e15a
·
verified ·
1 Parent(s): fb69601

Model save

Browse files
Files changed (2) hide show
  1. README.md +72 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: openai/clip-vit-base-patch16
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: clip-vit-base-patch16-finetuned-openai-clip-vit-base-patch16-mnist
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
+ # clip-vit-base-patch16-finetuned-openai-clip-vit-base-patch16-mnist
17
+
18
+ This model is a fine-tuned version of [openai/clip-vit-base-patch16](https://huggingface.co/openai/clip-vit-base-patch16) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0153
21
+ - Accuracy: 0.9958
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: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.5063 | 1.0 | 422 | 0.0742 | 0.981 |
56
+ | 0.5043 | 2.0 | 844 | 0.0705 | 0.9762 |
57
+ | 0.3477 | 3.0 | 1266 | 0.0400 | 0.9883 |
58
+ | 0.3968 | 4.0 | 1688 | 0.0319 | 0.9895 |
59
+ | 0.4089 | 5.0 | 2110 | 0.0361 | 0.9893 |
60
+ | 0.3039 | 6.0 | 2532 | 0.0329 | 0.9882 |
61
+ | 0.293 | 7.0 | 2954 | 0.0244 | 0.9918 |
62
+ | 0.2723 | 8.0 | 3376 | 0.0241 | 0.9912 |
63
+ | 0.2441 | 9.0 | 3798 | 0.0164 | 0.9958 |
64
+ | 0.2394 | 10.0 | 4220 | 0.0153 | 0.9958 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.44.2
70
+ - Pytorch 2.4.0+cu121
71
+ - Datasets 2.21.0
72
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4adc70da873dd6cf828a12cbc6ba9c09ce5175dc2148cb72973d1dafba6b62ab
3
  size 343252424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc05489d3e59beb3d10272506f9bf5f082bebf0be6520f2be70428e20db60269
3
  size 343252424