Downloads · 30 days
3
4% of all-time downloads
keisuke-miyako/nomic-embed-text-v1-onnx-int8
nomic-embed-text-v1-onnx-int8 is a machine learning model from keisuke-miyako. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
69
Public
Repo size
138 MB
Likes
0
Public
Click a slice to open those files.
.onnx138 MB · 99%
From the Hugging Face model README
For usage with onnx-genai
hf download nomic-ai/nomic-embed-text-v1.5 --local-dir ~/.onnx/nomic-embed-text-v1.5
change "nomic_bert" to "bert" in config.json
{
"model_type": "nomic_bert"
}
optimum-cli export onnx \
--model ~/.onnx/nomic-embed-text-v1 \
--task feature-extraction \
--trust-remote-code \
--opset 14 \
~/.onnx/nomic-embed-text-v1-fp32
optimum-cli onnxruntime quantize \
--onnx_model ~/.onnx/nomic-embed-text-v1-fp32 \
--output ~/.onnx/nomic-embed-text-v1-onnx --avx2