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 15500
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:7afec5167e524edf6ebbe9f93945655a1dfdc496eda5faeef862a0324007409asize 130010305123version https://git-lfs.github.com/spec/v1oid sha256:81eea93340dc75b1f692d8e23fb8af629cd6d2948b346196c0ae96ce22891e59size 129927292
92 unmodified lines93949592 unmodified lines0.15162181188065196,14000,0.5976575092231097,0.5976575092231097,0.5798651531239554,0.5976575092231097,0.7655328403556568,0.7197964279188179,{1: np.float64(0.3506850220579392)},{1: np.float64(0.2406101742333864)}0.15703687659067525,14500,0.5988394999820911,0.5988394999820911,0.5804546560908715,0.5988394999820911,0.7645475353708931,0.718911913481425,{1: np.float64(0.3464201683868132)},{1: np.float64(0.2424292490746823)}0.16245194130069854,15000,0.5918908270353522,0.5918908270353522,0.5740226563774148,0.5918908270353522,0.7575760745354565,0.712423533904945,{1: np.float64(0.3490769149636869)},{1: np.float64(0.2500240183839756)}92 unmodified lines9394959692 unmodified lines0.15162181188065196,14000,0.5976575092231097,0.5976575092231097,0.5798651531239554,0.5976575092231097,0.7655328403556568,0.7197964279188179,{1: np.float64(0.3506850220579392)},{1: np.float64(0.2406101742333864)}0.15703687659067525,14500,0.5988394999820911,0.5988394999820911,0.5804546560908715,0.5988394999820911,0.7645475353708931,0.718911913481425,{1: np.float64(0.3464201683868132)},{1: np.float64(0.2424292490746823)}0.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)}
123version https://git-lfs.github.com/spec/v1oid sha256:0971650bb47d737f2975d4633aba9eb9adb15f49010705b16d56ee7b7c423e63size 789580328123version https://git-lfs.github.com/spec/v1oid sha256:6c7a71fb55cf433b1bf9966943578633835ed832c216fc510e3c25741c157ed5size 789580328
eval/Information-Retrieval_evaluation_test_predictions_cosine.jsonl+2-2
eval/Information-Retrieval_evaluation_test_results.csv+1
model.safetensors+1-1