Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

redis
/
langcache-embed-v3-small

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
Model card Files Files and versions
xet
Community

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]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
langcache-embed-v3-small / eval
159 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 23 commits
radoslavralev's picture
radoslavralev
Upload folder using huggingface_hub
7eaf163 verified 5 months ago
  • Information-Retrieval_evaluation_test_results.csv
    34.8 kB
    Upload folder using huggingface_hub 5 months ago
  • Information-Retrieval_evaluation_train_results.csv
    3.56 kB
    Upload folder using huggingface_hub 5 months ago
  • binary_classification_evaluation_test_results.csv
    89.6 kB
    Upload folder using huggingface_hub 5 months ago
  • binary_classification_evaluation_val_results.csv
    31.4 kB
    Upload folder using huggingface_hub 5 months ago