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

  • Log In
  • Sign Up

redis
/
langcache-embed-v1

Sentence Similarity
sentence-transformers
ONNX
Safetensors
OpenVINO
modernbert
loss:OnlineContrastiveLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
8

Instructions to use redis/langcache-embed-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use redis/langcache-embed-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("redis/langcache-embed-v1")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
langcache-embed-v1
600 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
srijithrajamohan's picture
srijithrajamohan
Model card references removed
483d475 about 1 year ago
  • 1_Pooling
    First commit of all model files except the safetensors (#1) about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    4.15 kB
    Model card references removed about 1 year ago
  • config.json
    1.3 kB
    First commit of all model files except the safetensors (#1) about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    First commit of all model files except the safetensors (#1) about 1 year ago
  • model.safetensors
    596 MB
    xet
    Adding model safetensors (#2) about 1 year ago
  • modules.json
    229 Bytes
    First commit of all model files except the safetensors (#1) about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    First commit of all model files except the safetensors (#1) about 1 year ago
  • special_tokens_map.json
    694 Bytes
    First commit of all model files except the safetensors (#1) about 1 year ago
  • tokenizer.json
    3.58 MB
    First commit of all model files except the safetensors (#1) about 1 year ago
  • tokenizer_config.json
    20.9 kB
    First commit of all model files except the safetensors (#1) about 1 year ago