Sentence Similarity
sentence-transformers
ONNX
Transformers.js
gte
feature-extraction
mteb
arctic
embedding
snowflake2_m_uint8
snowflake
custom_code
Instructions to use electroglyph/snowflake2_m_uint8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use electroglyph/snowflake2_m_uint8 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("electroglyph/snowflake2_m_uint8", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers.js
How to use electroglyph/snowflake2_m_uint8 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'electroglyph/snowflake2_m_uint8'); - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -87,6 +87,12 @@ language:
|
|
| 87 |
- yo
|
| 88 |
- zh
|
| 89 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
# Update
|
| 91 |
|
| 92 |
I've updated this model to be compatible with Fastembed.
|
|
|
|
| 87 |
- yo
|
| 88 |
- zh
|
| 89 |
---
|
| 90 |
+
# Final Update, September 20, 2025
|
| 91 |
+
|
| 92 |
+
This model is obsolete now, please use https://huggingface.co/electroglyph/snowflake-arctic-embed-m-v2.0-ONNX-uint8
|
| 93 |
+
|
| 94 |
+
This model is still fine, but my latest one is a little more accurate
|
| 95 |
+
|
| 96 |
# Update
|
| 97 |
|
| 98 |
I've updated this model to be compatible with Fastembed.
|