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 72000
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:4ce35e46c41ba876a01306cdb329f8f4dcf8d7609c8c5493f63e275416dc7f03size 130322820123version https://git-lfs.github.com/spec/v1oid sha256:9eb923e2990eca2499725513f76fc0a40f45daec57b480bb12d1914a9d0e2d16size 130303199
205 unmodified lines206207208205 unmodified lines0.7635241241132832,70500,0.6083312439557291,0.6083312439557291,0.5896986595771474,0.6083312439557291,0.7758972799879416,0.7297343118982489,{1: np.float64(0.3486724095457738)},{1: np.float64(0.21198866915080644)}0.7689391888233065,71000,0.6082237902503671,0.6082237902503671,0.5897586545626411,0.6082237902503671,0.7760160056890794,0.729867278392931,{1: np.float64(0.3494021354885949)},{1: np.float64(0.21297799445672216)}0.7743542535333298,71500,0.6062179877502776,0.6062179877502776,0.5878659342953373,0.6062179877502776,0.7752656017718877,0.7287097623122027,{1: np.float64(0.3468011827183578)},{1: np.float64(0.2127441247792819)}205 unmodified lines206207208209205 unmodified lines0.7635241241132832,70500,0.6083312439557291,0.6083312439557291,0.5896986595771474,0.6083312439557291,0.7758972799879416,0.7297343118982489,{1: np.float64(0.3486724095457738)},{1: np.float64(0.21198866915080644)}0.7689391888233065,71000,0.6082237902503671,0.6082237902503671,0.5897586545626411,0.6082237902503671,0.7760160056890794,0.729867278392931,{1: np.float64(0.3494021354885949)},{1: np.float64(0.21297799445672216)}0.7743542535333298,71500,0.6062179877502776,0.6062179877502776,0.5878659342953373,0.6062179877502776,0.7752656017718877,0.7287097623122027,{1: np.float64(0.3468011827183578)},{1: np.float64(0.2127441247792819)}0.779769318243353,72000,0.6062538056520649,0.6062538056520649,0.5877137508531005,0.6062538056520649,0.7752809545679691,0.7288484923752873,{1: np.float64(0.3470551147490352)},{1: np.float64(0.21131923397897906)}
123version https://git-lfs.github.com/spec/v1oid sha256:ee4613bbfdb951abe8ac9289ade3b3e3b682c1ff0eefa15b66613945b89e3752size 789580328123version https://git-lfs.github.com/spec/v1oid sha256:dcc8957fa32003040c1a1302bbda47c5497a9008ae1cfee3e1e5d13951174dfesize 789580328
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl+2-2
eval/Information-Retrieval_evaluation_test_results.csv+1
model.safetensors+1-1