Sentence Similarity
sentence-transformers
ONNX
Safetensors
Transformers.js
bert
feature-extraction
mteb
arctic
snowflake-arctic-embed
Eval Results (legacy)
text-embeddings-inference
Instructions to use Snowflake/snowflake-arctic-embed-xs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Snowflake/snowflake-arctic-embed-xs with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Snowflake/snowflake-arctic-embed-xs") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers.js
How to use Snowflake/snowflake-arctic-embed-xs with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'Snowflake/snowflake-arctic-embed-xs'); - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#2
by xdm222 - opened
README.md
CHANGED
|
@@ -2902,7 +2902,7 @@ Based on the [intfloat/e5-base-unsupervised](https://huggingface.co/intfloat/e5-
|
|
| 2902 |
### [arctic-embed-m-long](https://huggingface.co/Snowflake/arctic-embed-m-long/)
|
| 2903 |
|
| 2904 |
|
| 2905 |
-
Based on the [nomic-embed-text-v1](https://huggingface.co/nomic-ai/nomic-embed-text-v1) model, this long-context variant of our medium-sized model is perfect for workloads that can be constrained by the regular 512 token context of our other models. Without the use of RPE, this model supports up to 2048 tokens. With RPE, it can scale to 8192!
|
| 2906 |
|
| 2907 |
|
| 2908 |
| Model Name | MTEB Retrieval Score (NDCG @ 10) |
|
|
|
|
| 2902 |
### [arctic-embed-m-long](https://huggingface.co/Snowflake/arctic-embed-m-long/)
|
| 2903 |
|
| 2904 |
|
| 2905 |
+
Based on the [nomic-embed-text-v1-unsupervised](https://huggingface.co/nomic-ai/nomic-embed-text-v1-unsupervised) model, this long-context variant of our medium-sized model is perfect for workloads that can be constrained by the regular 512 token context of our other models. Without the use of RPE, this model supports up to 2048 tokens. With RPE, it can scale to 8192!
|
| 2906 |
|
| 2907 |
|
| 2908 |
| Model Name | MTEB Retrieval Score (NDCG @ 10) |
|