Model save
Browse files
README.md
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: openai/clip-vit-base-patch32
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: fotocopy-ori
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
dataset:
|
16 |
+
name: imagefolder
|
17 |
+
type: imagefolder
|
18 |
+
config: default
|
19 |
+
split: validation
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.9491525423728814
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# fotocopy-ori
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32) on the imagefolder dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.4776
|
35 |
+
- Accuracy: 0.9492
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 5e-05
|
55 |
+
- train_batch_size: 16
|
56 |
+
- eval_batch_size: 16
|
57 |
+
- seed: 42
|
58 |
+
- gradient_accumulation_steps: 4
|
59 |
+
- total_train_batch_size: 64
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- lr_scheduler_warmup_ratio: 0.1
|
63 |
+
- num_epochs: 25
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
69 |
+
| No log | 0.9231 | 3 | 0.6343 | 0.4915 |
|
70 |
+
| No log | 1.8462 | 6 | 0.2235 | 0.9322 |
|
71 |
+
| No log | 2.7692 | 9 | 0.1887 | 0.9492 |
|
72 |
+
| No log | 4.0 | 13 | 0.0278 | 0.9831 |
|
73 |
+
| 0.4375 | 4.9231 | 16 | 1.6119 | 0.8475 |
|
74 |
+
| 0.4375 | 5.8462 | 19 | 0.5158 | 0.8983 |
|
75 |
+
| 0.4375 | 6.7692 | 22 | 0.0602 | 0.9661 |
|
76 |
+
| 0.4375 | 8.0 | 26 | 0.3831 | 0.9492 |
|
77 |
+
| 0.4375 | 8.9231 | 29 | 0.4555 | 0.9492 |
|
78 |
+
| 0.1245 | 9.8462 | 32 | 0.9890 | 0.9153 |
|
79 |
+
| 0.1245 | 10.7692 | 35 | 0.4632 | 0.9322 |
|
80 |
+
| 0.1245 | 12.0 | 39 | 0.5992 | 0.9322 |
|
81 |
+
| 0.1245 | 12.9231 | 42 | 0.6255 | 0.9322 |
|
82 |
+
| 0.048 | 13.8462 | 45 | 0.5156 | 0.9492 |
|
83 |
+
| 0.048 | 14.7692 | 48 | 0.6033 | 0.9492 |
|
84 |
+
| 0.048 | 16.0 | 52 | 0.5978 | 0.9492 |
|
85 |
+
| 0.048 | 16.9231 | 55 | 0.5747 | 0.9492 |
|
86 |
+
| 0.048 | 17.8462 | 58 | 0.5635 | 0.9492 |
|
87 |
+
| 0.0005 | 18.7692 | 61 | 0.5314 | 0.9492 |
|
88 |
+
| 0.0005 | 20.0 | 65 | 0.5023 | 0.9492 |
|
89 |
+
| 0.0005 | 20.9231 | 68 | 0.4886 | 0.9492 |
|
90 |
+
| 0.0005 | 21.8462 | 71 | 0.4809 | 0.9492 |
|
91 |
+
| 0.0005 | 22.7692 | 74 | 0.4779 | 0.9492 |
|
92 |
+
| 0.0 | 23.0769 | 75 | 0.4776 | 0.9492 |
|
93 |
+
|
94 |
+
|
95 |
+
### Framework versions
|
96 |
+
|
97 |
+
- Transformers 4.41.2
|
98 |
+
- Pytorch 2.1.2
|
99 |
+
- Datasets 2.19.2
|
100 |
+
- 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 349854120
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0f8efeaf4f0b910aa4ccf5784e35258e1128becd166f32595c25acc55daf280
|
3 |
size 349854120
|
runs/Jul09_03-23-54_35204c829297/events.out.tfevents.1720495467.35204c829297.34.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a95f6ac2de7918f714bc9a04be047a5e2e1ee049dfa82796968c4e2db3ef2bf
|
3 |
+
size 13716
|