Adding ONNX file of this model
Browse filesBeep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [smyang](https://huggingface.co/smyang), I would like to add to this repository the model converted to ONNX.
What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)!
The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!
- onnx/config.json +27 -0
- onnx/model.onnx +3 -0
onnx/config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/LLM2CLIP-Openai-B-16",
|
3 |
+
"architectures": [
|
4 |
+
"LLM2CLIPModel"
|
5 |
+
],
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "microsoft/LLM2CLIP-Openai-B-16--configuration_clip.CLIPConfig",
|
8 |
+
"AutoModel": "microsoft/LLM2CLIP-Openai-B-16--modeling_clip.LLM2CLIPModel"
|
9 |
+
},
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"logit_scale_init_value": 2.6592,
|
12 |
+
"model_type": "clip",
|
13 |
+
"projection_dim": 1280,
|
14 |
+
"text_config": {
|
15 |
+
"bos_token_id": 0,
|
16 |
+
"dropout": 0.0,
|
17 |
+
"eos_token_id": 2,
|
18 |
+
"model_type": "clip_text_model",
|
19 |
+
"projection_dim": 1280
|
20 |
+
},
|
21 |
+
"transformers_version": "4.37.2",
|
22 |
+
"vision_config": {
|
23 |
+
"dropout": 0.0,
|
24 |
+
"model_type": "clip_vision_model",
|
25 |
+
"patch_size": 16
|
26 |
+
}
|
27 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1b575d32da7ff3150353bd0cbf3b6c7193fac8b73a43f69fb907d1e477c8edf
|
3 |
+
size 602714792
|