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-m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Snowflake/snowflake-arctic-embed-m with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Snowflake/snowflake-arctic-embed-m") 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-m with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'Snowflake/snowflake-arctic-embed-m'); - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#7
by williambarberjr - opened
README.md
CHANGED
|
@@ -2806,7 +2806,7 @@ model-index:
|
|
| 2806 |
value: 85.30624598674467
|
| 2807 |
license: apache-2.0
|
| 2808 |
---
|
| 2809 |
-
<h1 align="center">Snowflake's
|
| 2810 |
<h4 align="center">
|
| 2811 |
<p>
|
| 2812 |
<a href=#news>News</a> |
|
|
|
|
| 2806 |
value: 85.30624598674467
|
| 2807 |
license: apache-2.0
|
| 2808 |
---
|
| 2809 |
+
<h1 align="center">Snowflake's Arctic-embed-m</h1>
|
| 2810 |
<h4 align="center">
|
| 2811 |
<p>
|
| 2812 |
<a href=#news>News</a> |
|