Sentence Similarity
sentence-transformers
Safetensors
Transformers.js
bert
feature-extraction
mteb
arctic
snowflake-arctic-embed
text-embeddings-inference
Instructions to use electroglyph/arctic-embed-l-tech_and_fiction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use electroglyph/arctic-embed-l-tech_and_fiction with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("electroglyph/arctic-embed-l-tech_and_fiction") 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 electroglyph/arctic-embed-l-tech_and_fiction with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('sentence-similarity', 'electroglyph/arctic-embed-l-tech_and_fiction'); - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 4.1 kB
- 991 Bytes
- 993 Bytes
- 6.29 kB
- 6.19 kB
- 653 Bytes
- 4.01 kB
- 732 Bytes
- 6.26 kB
- 6.26 kB
- 6.23 kB
- 6.23 kB
- 6.23 kB
- 6.22 kB
- 4.05 kB
- 4 kB
- 4 kB
- 4.01 kB
- 732 Bytes
- 731 Bytes
- 11 kB
- 6.21 kB
- 652 Bytes
- 649 Bytes
- 650 Bytes
- 649 Bytes
- 648 Bytes
- 648 Bytes
- 648 Bytes
- 656 Bytes
- 1.41 kB
- 736 Bytes
- 740 Bytes
- 578 Bytes
- 6.19 kB
- 6.28 kB
- 4.1 kB
- 4.02 kB
- 740 Bytes
- 1.42 kB
- 1.42 kB
- 631 Bytes