Sentence Similarity
sentence-transformers
ONNX
Safetensors
Transformers.js
xlm-roberta
feature-extraction
mteb
arctic
snowflake-arctic-embed
Eval Results (legacy)
Eval Results
text-embeddings-inference
Instructions to use Snowflake/snowflake-arctic-embed-l-v2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Snowflake/snowflake-arctic-embed-l-v2.0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Snowflake/snowflake-arctic-embed-l-v2.0") 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 Snowflake/snowflake-arctic-embed-l-v2.0 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'Snowflake/snowflake-arctic-embed-l-v2.0'); - Inference
- Notebooks
- Google Colab
- Kaggle
Is `sentencepiece.bpe.model` missing?
#5
by sealad886 - opened
Hi there, just wondering if you might be able to upload the BPE model file please?
Or is it just an exact copy of the file from BAAI/bge-m3-retromae?
The tokenizer is indeed unchanged. Is the lack of a copy in this repo creating issues with running the model?
The tokenizer is indeed unchanged. Is the lack of a copy in this repo creating issues with running the model?
For my own experience the lack of sentencepiece.bpe.model prevents convert_hf_to_gguf.py from working. Getting that file from BAAI/bge-m3-retromae allowed the script to run without error.
Same issue as Rayzinnz.
pxyu changed discussion status to closed