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 24000
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:f82d7ec7f1aa2c28e7cbdb3306f32e01be30047ad5b6a5bcc384f5a6e78dfddesize 130103466123version https://git-lfs.github.com/spec/v1oid sha256:60a641b7002a430b83e909bcf47eb6431219b6bb43b6bb13e34da11fb3641701size 129939849
109 unmodified lines110111112109 unmodified lines0.24367791195104782,22500,0.6004154876607328,0.6004154876607328,0.5819034902181685,0.6004154876607328,0.7675738248132161,0.7213748987482427,{1: np.float64(0.3476706252076241)},{1: np.float64(0.24224378704262883)}0.2490929766610711,23000,0.6021705648483112,0.6021705648483112,0.5839755558365645,0.6021705648483112,0.7682190682950751,0.7229374272381702,{1: np.float64(0.34796466027687317)},{1: np.float64(0.23358917326830478)}0.2545080413710944,23500,0.6015974784197142,0.6015974784197142,0.5831559228506648,0.6015974784197142,0.7675478710616588,0.7221300313070212,{1: np.float64(0.348023385217107)},{1: np.float64(0.23833912939303523)}109 unmodified lines110111112113109 unmodified lines0.24367791195104782,22500,0.6004154876607328,0.6004154876607328,0.5819034902181685,0.6004154876607328,0.7675738248132161,0.7213748987482427,{1: np.float64(0.3476706252076241)},{1: np.float64(0.24224378704262883)}0.2490929766610711,23000,0.6021705648483112,0.6021705648483112,0.5839755558365645,0.6021705648483112,0.7682190682950751,0.7229374272381702,{1: np.float64(0.34796466027687317)},{1: np.float64(0.23358917326830478)}0.2545080413710944,23500,0.6015974784197142,0.6015974784197142,0.5831559228506648,0.6015974784197142,0.7675478710616588,0.7221300313070212,{1: np.float64(0.348023385217107)},{1: np.float64(0.23833912939303523)}0.2599231060811177,24000,0.5994125864106881,0.5994125864106881,0.5812745449189268,0.5994125864106881,0.7654587044658686,0.7199713409315901,{1: np.float64(0.3493097301321692)},{1: np.float64(0.23645005102850636)}
123version https://git-lfs.github.com/spec/v1oid sha256:6d4fb7858ab4c58db6f27fef24bb0c857efced968013b2fbb94c8c648997f20fsize 789580328123version https://git-lfs.github.com/spec/v1oid sha256:2dc7d23dc87cf26e9ebbaa0d64a8c606c373d4a4656a580b811350dcd502b008size 789580328
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl+2-2
eval/Information-Retrieval_evaluation_test_results.csv+1
model.safetensors+1-1