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
46.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 40 commits
radoslavralev's picture
radoslavralev
Update README.md
3625eb2 verified 5 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 5 months ago
  • eval
    Upload folder using huggingface_hub 5 months ago
  • .gitattributes
    1.73 kB
    Upload folder using huggingface_hub 5 months ago
  • README.md
    9.54 kB
    Update README.md 5 months ago
  • config.json
    612 Bytes
    Upload folder using huggingface_hub 5 months ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 5 months ago
  • final_metrics.json
    296 Bytes
    Upload folder using huggingface_hub 5 months ago
  • initial_metrics.json
    426 Bytes
    Upload folder using huggingface_hub 5 months ago
  • model.safetensors
    45.1 MB
    xet
    Training in progress, step 40000 7 months ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 5 months ago
  • sentence_bert_config.json
    57 Bytes
    Update sentence_bert_config.json 5 months ago
  • special_tokens_map.json
    695 Bytes
    Update special_tokens_map.json 5 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    1.46 kB
    Upload folder using huggingface_hub 5 months ago
  • training_args.bin
    6.35 kB
    xet
    Training in progress, step 5000 7 months ago
  • vocab.txt
    232 kB
    Training in progress, step 5000 7 months ago