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

  • Log In
  • Sign Up

NeuML
/
pylate-bert-tiny

Sentence Similarity
Safetensors
sentence-transformers
English
PyLate
bert
ColBERT
feature-extraction
Generated from Trainer
dataset_size:497901
loss:Contrastive
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use NeuML/pylate-bert-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use NeuML/pylate-bert-tiny with sentence-transformers:

    from pylate import models
    
    queries = [
        "Which planet is known as the Red Planet?",
        "What is the largest planet in our solar system?",
    ]
    
    documents = [
        ["Mars is the Red Planet.", "Venus is Earth's twin."],
        ["Jupiter is the largest planet.", "Saturn has rings."],
    ]
    
    model = models.ColBERT(model_name_or_path="NeuML/pylate-bert-tiny")
    
    queries_emb = model.encode(queries, is_query=True)
    docs_emb = model.encode(documents, is_query=False)
  • Notebooks
  • Google Colab
  • Kaggle
pylate-bert-tiny
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
davidmezzetti's picture
davidmezzetti
Add model
9cb9295 9 months ago
  • 1_Dense
    Add model 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    963 Bytes
    Add model 9 months ago
  • added_tokens.json
    37 Bytes
    Add model 9 months ago
  • config.json
    636 Bytes
    Add model 9 months ago
  • config_sentence_transformers.json
    663 Bytes
    Add model 9 months ago
  • model.safetensors
    17.5 MB
    xet
    Add model 9 months ago
  • modules.json
    216 Bytes
    Add model 9 months ago
  • sentence_bert_config.json
    53 Bytes
    Add model 9 months ago
  • special_tokens_map.json
    126 Bytes
    Add model 9 months ago
  • tokenizer.json
    712 kB
    Add model 9 months ago
  • tokenizer_config.json
    1.64 kB
    Add model 9 months ago
  • vocab.txt
    232 kB
    Add model 9 months ago