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 16500
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:b07f4d326d87d92a55e4186ff58de0d9849e4560d8eeef48a4fbbcf1e0727f35size 129871228123version https://git-lfs.github.com/spec/v1oid sha256:585fc8f0636a350596447acbb5955e0d1a7f99848b913db8fcabfe9e11b896d9size 129955529
94 unmodified lines95969794 unmodified lines0.16245194130069854,15000,0.5918908270353522,0.5918908270353522,0.5740226563774148,0.5918908270353522,0.7575760745354565,0.712423533904945,{1: np.float64(0.3490769149636869)},{1: np.float64(0.2500240183839756)}0.16786700601072183,15500,0.593574268419356,0.593574268419356,0.5757637048867931,0.593574268419356,0.7594646440931345,0.7144033716140697,{1: np.float64(0.34710759128847346)},{1: np.float64(0.24945516226706882)}0.1732820707207451,16000,0.5996274938214119,0.5996274938214119,0.5808973056604598,0.5996274938214119,0.7620045209730943,0.7173824308463697,{1: np.float64(0.34676754376402374)},{1: np.float64(0.24025604070388518)}94 unmodified lines9596979894 unmodified lines0.16245194130069854,15000,0.5918908270353522,0.5918908270353522,0.5740226563774148,0.5918908270353522,0.7575760745354565,0.712423533904945,{1: np.float64(0.3490769149636869)},{1: np.float64(0.2500240183839756)}0.16786700601072183,15500,0.593574268419356,0.593574268419356,0.5757637048867931,0.593574268419356,0.7594646440931345,0.7144033716140697,{1: np.float64(0.34710759128847346)},{1: np.float64(0.24945516226706882)}0.1732820707207451,16000,0.5996274938214119,0.5996274938214119,0.5808973056604598,0.5996274938214119,0.7620045209730943,0.7173824308463697,{1: np.float64(0.34676754376402374)},{1: np.float64(0.24025604070388518)}0.1786971354307684,16500,0.5960457036426806,0.5960457036426806,0.5777913392508292,0.5960457036426806,0.763044200885779,0.7171453199759508,{1: np.float64(0.3458398463307909)},{1: np.float64(0.24559577305778785)}
123version https://git-lfs.github.com/spec/v1oid sha256:d736e74682cf039e2a71af65a6f6327b893a1edad362de5a09e9cb799474a30csize 789580328123version https://git-lfs.github.com/spec/v1oid sha256:ee1386b8f9cc27cad3ac62dc06b9d8ed7ff6292101a345c17e02a2479b4f60d7size 789580328
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl+2-2
eval/Information-Retrieval_evaluation_test_results.csv+1
model.safetensors+1-1