Sentence Similarity
sentence-transformers
ONNX
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:4505
loss:OnlineContrastiveLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use overfitting-co/A2P-constrastive-all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use overfitting-co/A2P-constrastive-all with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("overfitting-co/A2P-constrastive-all") sentences = [ "Greektown on the Danforth", "Gregarious", "Gregarious", "Gregarious" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from overfitting-co/A2P-constrastive-all: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/overfitting-co/A2P-constrastive-all/resolve/main/tokenizer.json
- Command line
-
hf download hf://overfitting-co/A2P-constrastive-all/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/overfitting-co/A2P-constrastive-all/resolve/main/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.