Sentence Similarity
sentence-transformers
Safetensors
English
bert
biencoder
text-classification
sentence-pair-classification
semantic-similarity
semantic-search
retrieval
reranking
Generated from Trainer
dataset_size:9233417
loss:ArcFaceInBatchLoss
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run redis/langcache-embed-experimental on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/redis/langcache-embed-experimental. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/redis/langcache-embed-experimental on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use redis/langcache-embed-experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use redis/langcache-embed-experimental with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("redis/langcache-embed-experimental") sentences = [ "Hayley Vaughan portrayed Ripa on the ABC daytime soap opera , `` All My Children `` , between 1990 and 2002 .", "Traxxpad is a music application for Sony 's PlayStation Portable published by Definitive Studios and developed by Eidos Interactive .", "Between 1990 and 2002 , Hayley Vaughan Ripa portrayed in the ABC soap opera `` All My Children `` .", "Between 1990 and 2002 , Ripa Hayley portrayed Vaughan in the ABC soap opera `` All My Children `` ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Training in progress, step 66500
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:237d02e0a43362ab78c40d0aabdc7b0733c62aea7aedc1e32534316df9248b73size 130553214123version https://git-lfs.github.com/spec/v1oid sha256:2aff78e89748ef85d94bb756373d30c3b117cc82eb6edda549b467f873a86c7fsize 130552920
346 unmodified lines347348349346 unmodified lines7.207806609004214,65000,0.6104803180629679,0.6104803180629679,0.592097776751149,0.6104803180629679,0.7831781451851878,0.7360929890474184,{1: np.float64(0.35267188937669014)},{1: np.float64(0.1945067301643273)}7.263251275227323,65500,0.611411583509438,0.611411583509438,0.5930926616136509,0.611411583509438,0.783518973100999,0.7366103335937524,{1: np.float64(0.35264182167729824)},{1: np.float64(0.19417557906278896)}7.318695941450432,66000,0.6110175865897776,0.6110175865897776,0.5926099727467076,0.6110175865897776,0.7828695388980098,0.7360255294546876,{1: np.float64(0.35374249971342003)},{1: np.float64(0.19510042956043194)}346 unmodified lines347348349350346 unmodified lines7.207806609004214,65000,0.6104803180629679,0.6104803180629679,0.592097776751149,0.6104803180629679,0.7831781451851878,0.7360929890474184,{1: np.float64(0.35267188937669014)},{1: np.float64(0.1945067301643273)}7.263251275227323,65500,0.611411583509438,0.611411583509438,0.5930926616136509,0.611411583509438,0.783518973100999,0.7366103335937524,{1: np.float64(0.35264182167729824)},{1: np.float64(0.19417557906278896)}7.318695941450432,66000,0.6110175865897776,0.6110175865897776,0.5926099727467076,0.6110175865897776,0.7828695388980098,0.7360255294546876,{1: np.float64(0.35374249971342003)},{1: np.float64(0.19510042956043194)}7.374140607673541,66500,0.6110175865897776,0.6110175865897776,0.5926424007399328,0.6110175865897776,0.7828281738004851,0.7358513647676804,{1: np.float64(0.3531996518651736)},{1: np.float64(0.19517034127654942)}
123version https://git-lfs.github.com/spec/v1oid sha256:8bd69c5197e1f954ccf71a5e187d274c7c7b957d43b161c6ccb07c1049a6df11size 45437864123version https://git-lfs.github.com/spec/v1oid sha256:fb2ebda8e71244d8359cb243510985f68525d42b581f4ebba92bfac966d3717asize 45437864
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl+2-2
eval/Information-Retrieval_evaluation_test_results.csv+1
model.safetensors+1-1