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

  • Log In
  • Sign Up

CAiRE
/
UniVaR-lambda-5

Sentence Similarity
sentence-transformers
Safetensors
Transformers
Transformers.js
English
nomic_bert
feature-extraction
mteb
custom_code
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use CAiRE/UniVaR-lambda-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use CAiRE/UniVaR-lambda-5 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("CAiRE/UniVaR-lambda-5", trust_remote_code=True)
    
    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]
  • Transformers

    How to use CAiRE/UniVaR-lambda-5 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("CAiRE/UniVaR-lambda-5", trust_remote_code=True)
    model = AutoModel.from_pretrained("CAiRE/UniVaR-lambda-5", trust_remote_code=True)
  • Transformers.js

    How to use CAiRE/UniVaR-lambda-5 with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('sentence-similarity', 'CAiRE/UniVaR-lambda-5');
  • Notebooks
  • Google Colab
  • Kaggle
UniVaR-lambda-5
548 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
samuelcahyawijaya's picture
samuelcahyawijaya
Add new SentenceTransformer model.
bc55df8 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    69.1 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    1.71 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • configuration_hf_nomic_bert.py
    1.96 kB
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    547 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modeling_hf_nomic_bert.py
    84.7 kB
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.19 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago