Skip to content

Commit 0557b0f

Browse files
nit
1 parent fe4c4ff commit 0557b0f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

fastembed/text/pooled_embedding.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@
1919
"model_file": "onnx/model.onnx",
2020
},
2121
{
22-
"model": "nomic-ai/nomic-embed-text-v1",
22+
"model": "nomic-ai/nomic-embed-text-v1.5-Q",
2323
"dim": 768,
2424
"description": "Text embeddings, Multimodal (text, image), English, 8192 input tokens truncation, Prefixes for queries/documents: necessary, 2024 year.",
2525
"license": "apache-2.0",
26-
"size_in_GB": 0.52,
26+
"size_in_GB": 0.13,
2727
"sources": {
28-
"hf": "nomic-ai/nomic-embed-text-v1",
28+
"hf": "nomic-ai/nomic-embed-text-v1.5",
2929
},
30-
"model_file": "onnx/model.onnx",
30+
"model_file": "onnx/model_quantized.onnx",
3131
},
3232
{
33-
"model": "nomic-ai/nomic-embed-text-v1.5-Q",
33+
"model": "nomic-ai/nomic-embed-text-v1",
3434
"dim": 768,
3535
"description": "Text embeddings, Multimodal (text, image), English, 8192 input tokens truncation, Prefixes for queries/documents: necessary, 2024 year.",
3636
"license": "apache-2.0",
37-
"size_in_GB": 0.13,
37+
"size_in_GB": 0.52,
3838
"sources": {
39-
"hf": "nomic-ai/nomic-embed-text-v1.5",
39+
"hf": "nomic-ai/nomic-embed-text-v1",
4040
},
41-
"model_file": "onnx/model_quantized.onnx",
41+
"model_file": "onnx/model.onnx",
4242
},
4343
]
4444

tests/test_text_onnx_embeddings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"jinaai/jina-embeddings-v2-base-es": np.array([-0.0108, -0.0092, -0.0373, 0.0171, -0.0301]),
4646
"nomic-ai/nomic-embed-text-v1": np.array([0.3708, 0.2031, -0.3406, -0.2114, -0.3230]),
4747
"nomic-ai/nomic-embed-text-v1.5": np.array(
48-
[0.0802303, 0.3700881, -4.3053818, 0.4431803, -0.271572]
48+
[-0.15407836, -0.03053198, -3.9138033, 0.1910364, 0.13224715]
4949
),
5050
"nomic-ai/nomic-embed-text-v1.5-Q": np.array(
51-
[0.0035279, 0.0162738, -0.1893193, 0.0194878, -0.0119418]
51+
[0.0802303, 0.3700881, -4.3053818, 0.4431803, -0.271572]
5252
),
5353
"thenlper/gte-large": np.array(
5454
[-0.01920587, 0.00113156, -0.00708992, -0.00632304, -0.04025577]

0 commit comments

Comments
 (0)