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 53500
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:82a2ce424588924fb574d294923bfc89085da7a874e6c702c419570bc4367867size 130196837123version https://git-lfs.github.com/spec/v1oid sha256:ffb3ed000473296de6dddf396d8515ab67c1ac5d5f072b1a0c5bf54dd53d8e71size 130153066
168 unmodified lines169170171168 unmodified lines0.5631667298424217,52000,0.6036032809198038,0.6036032809198038,0.5852118704132565,0.6036032809198038,0.7700861325176331,0.7242777950296826,{1: np.float64(0.34767569225560496)},{1: np.float64(0.22673575292259804)}0.568581794552445,52500,0.6080447007414306,0.6080447007414306,0.5895392699141938,0.6080447007414306,0.7736273383412524,0.7279991600720169,{1: np.float64(0.34977695707723605)},{1: np.float64(0.21954962676913034)}0.5739968592624682,53000,0.6039614599376768,0.6039614599376768,0.5858171929534621,0.6039614599376768,0.7707824002342684,0.7251286782941051,{1: np.float64(0.34549673056845553)},{1: np.float64(0.21828507225287946)}168 unmodified lines169170171172168 unmodified lines0.5631667298424217,52000,0.6036032809198038,0.6036032809198038,0.5852118704132565,0.6036032809198038,0.7700861325176331,0.7242777950296826,{1: np.float64(0.34767569225560496)},{1: np.float64(0.22673575292259804)}0.568581794552445,52500,0.6080447007414306,0.6080447007414306,0.5895392699141938,0.6080447007414306,0.7736273383412524,0.7279991600720169,{1: np.float64(0.34977695707723605)},{1: np.float64(0.21954962676913034)}0.5739968592624682,53000,0.6039614599376768,0.6039614599376768,0.5858171929534621,0.6039614599376768,0.7707824002342684,0.7251286782941051,{1: np.float64(0.34549673056845553)},{1: np.float64(0.21828507225287946)}0.5794119239724914,53500,0.6057523550270425,0.6057523550270425,0.5874603391979552,0.6057523550270425,0.7721589133275285,0.7266562609704178,{1: np.float64(0.3460017130834119)},{1: np.float64(0.21412681802953223)}
123version https://git-lfs.github.com/spec/v1oid sha256:1a2901fced8687562c0b53aa1e6ad1c9450233ac6b38b220a8c292686cf68bb4size 789580328123version https://git-lfs.github.com/spec/v1oid sha256:efd59483e79e652a6a114967f3971b0de7160abcba348709ec2d1b29463cc4adsize 789580328
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl+2-2
eval/Information-Retrieval_evaluation_test_results.csv+1
model.safetensors+1-1