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