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

  • Log In
  • Sign Up

lightonai
/
answerai-colbert-small-v1

Sentence Similarity
Safetensors
sentence-transformers
PyLate
bert
ColBERT
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use lightonai/answerai-colbert-small-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use lightonai/answerai-colbert-small-v1 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="lightonai/answerai-colbert-small-v1")
    
    queries_emb = model.encode(queries, is_query=True)
    docs_emb = model.encode(documents, is_query=False)
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
answerai-colbert-small-v1
135 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
raphaelsty's picture
raphaelsty
Update README.md
e507cd1 verified 11 months ago
  • 1_Dense
    answerai-colbert-small-v1 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    6.51 kB
    Update README.md 11 months ago
  • config.json
    721 Bytes
    answerai-colbert-small-v1 11 months ago
  • config_sentence_transformers.json
    667 Bytes
    answerai-colbert-small-v1 11 months ago
  • model.safetensors
    133 MB
    xet
    answerai-colbert-small-v1 11 months ago
  • modules.json
    216 Bytes
    answerai-colbert-small-v1 11 months ago
  • sentence_bert_config.json
    53 Bytes
    answerai-colbert-small-v1 11 months ago
  • special_tokens_map.json
    582 Bytes
    answerai-colbert-small-v1 11 months ago
  • tokenizer.json
    712 kB
    answerai-colbert-small-v1 11 months ago
  • tokenizer_config.json
    1.62 kB
    answerai-colbert-small-v1 11 months ago
  • vocab.txt
    232 kB
    answerai-colbert-small-v1 11 months ago