Sentence Similarity
sentence-transformers
Safetensors
English
bert
biencoder
text-classification
sentence-pair-classification
semantic-similarity
semantic-search
retrieval
reranking
Generated from Trainer
dataset_size:8000000
loss:ArcFaceInBatchLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use redis/langcache-embed-v3-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use redis/langcache-embed-v3-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("redis/langcache-embed-v3-small") sentences = [ "\"How much would I need to narrate a \"\"Let's Play\"\" video in order to make money from it on YouTube?\"", "How much money do people make from YouTube videos with 1 million views?", "\"How much would I need to narrate a \"\"Let's Play\"\" video in order to make money from it on YouTube?\"", "\"Does the sentence, \"\"I expect to be disappointed,\"\" make sense?\"" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!