Upload folder using huggingface_hub
Browse files- README.md +22 -0
- config.json +23 -0
- events.out.tfevents.1734027393.amax.1863666.0 +3 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- openai/clip-vit-base-patch16
|
| 4 |
+
datasets:
|
| 5 |
+
- zalando-datasets/fashion_mnist
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Model Card
|
| 11 |
+
|
| 12 |
+
## Training Details
|
| 13 |
+
|
| 14 |
+
Adam Optimizer with a constant learning rate 1e-5 for 4000 steps training (batch_size=128).
|
| 15 |
+
Only the vision encoder is fine-tuned.
|
| 16 |
+
|
| 17 |
+
## Evaluation Results
|
| 18 |
+
|
| 19 |
+
Test set accuracy:
|
| 20 |
+
|
| 21 |
+
- pre-trained: 0.6729999780654907
|
| 22 |
+
- fine-tuned: 0.9452999830245972
|
config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "openai/clip-vit-base-patch16",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CLIPVisionModel"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"dropout": 0.0,
|
| 8 |
+
"hidden_act": "quick_gelu",
|
| 9 |
+
"hidden_size": 768,
|
| 10 |
+
"image_size": 224,
|
| 11 |
+
"initializer_factor": 1.0,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"layer_norm_eps": 1e-05,
|
| 15 |
+
"model_type": "clip_vision_model",
|
| 16 |
+
"num_attention_heads": 12,
|
| 17 |
+
"num_channels": 3,
|
| 18 |
+
"num_hidden_layers": 12,
|
| 19 |
+
"patch_size": 16,
|
| 20 |
+
"projection_dim": 512,
|
| 21 |
+
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.47.0"
|
| 23 |
+
}
|
events.out.tfevents.1734027393.amax.1863666.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63d0536a83c67b1f8dfcab28c7812bf47b5eeaa6905bc71ec08ec9d0d5792d23
|
| 3 |
+
size 195958
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8787bf482d0a8f38cca586aded22bdfbdf6bd8ad0c248a8d2e6e42ad9c64fc85
|
| 3 |
+
size 343221512
|