Push model using huggingface_hub.
Browse files- README.md +11 -0
- config.json +18 -15
README.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: CLIP
|
3 |
+
tags:
|
4 |
+
- pytorch_model_hub_mixin
|
5 |
+
- model_hub_mixin
|
6 |
+
repo_url: https://github.com/apple/ml-mobileclip
|
7 |
+
---
|
8 |
+
|
9 |
+
This model has been pushed to the Hub using **CLIP**:
|
10 |
+
- Repo: https://github.com/apple/ml-mobileclip
|
11 |
+
- Docs: [More Information Needed]
|
config.json
CHANGED
@@ -1,18 +1,21 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
"
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
},
|
7 |
-
"
|
8 |
-
"context_length": 77,
|
9 |
-
"vocab_size": 49408,
|
10 |
-
"dim": 512,
|
11 |
-
"ffn_multiplier_per_layer": 4.0,
|
12 |
-
"n_heads_per_layer": 8,
|
13 |
-
"n_transformer_layers": 4,
|
14 |
-
"norm_layer": "layer_norm_fp32",
|
15 |
-
"causal_masking": false,
|
16 |
-
"model_name": "mct"
|
17 |
-
}
|
18 |
}
|
|
|
1 |
{
|
2 |
+
"cfg": {
|
3 |
+
"embed_dim": 512,
|
4 |
+
"image_cfg": {
|
5 |
+
"image_size": 256,
|
6 |
+
"model_name": "mci0"
|
7 |
+
},
|
8 |
+
"text_cfg": {
|
9 |
+
"causal_masking": false,
|
10 |
+
"context_length": 77,
|
11 |
+
"dim": 512,
|
12 |
+
"ffn_multiplier_per_layer": 4.0,
|
13 |
+
"model_name": "mct",
|
14 |
+
"n_heads_per_layer": 8,
|
15 |
+
"n_transformer_layers": 4,
|
16 |
+
"norm_layer": "layer_norm_fp32",
|
17 |
+
"vocab_size": 49408
|
18 |
+
}
|
19 |
},
|
20 |
+
"output_dict": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|