Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

NeuML
/
colbert-atto-4m-384d

Sentence Similarity
sentence-transformers
Safetensors
Transformers
English
atto
feature-extraction
ColBERT
PyLate
custom_code
Model card Files Files and versions
xet
Community

Instructions to use NeuML/colbert-atto-4m-384d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use NeuML/colbert-atto-4m-384d 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/colbert-atto-4m-384d")
    
    queries_emb = model.encode(queries, is_query=True)
    docs_emb = model.encode(documents, is_query=False)
  • Transformers

    How to use NeuML/colbert-atto-4m-384d with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("NeuML/colbert-atto-4m-384d", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
colbert-atto-4m-384d
18.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
davidmezzetti's picture
davidmezzetti
Update README
5a95f13 about 5 hours ago
  • 1_Dense
    Initial model about 6 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 6 hours ago
  • README.md
    4.09 kB
    Update README about 5 hours ago
  • config.json
    586 Bytes
    Initial model about 6 hours ago
  • config_sentence_transformers.json
    759 Bytes
    Initial model about 6 hours ago
  • configuration_atto.py
    1.1 kB
    Initial model about 6 hours ago
  • model.safetensors
    17.5 MB
    xet
    Initial model about 6 hours ago
  • modeling_atto.py
    11.4 kB
    Initial model about 6 hours ago
  • modules.json
    216 Bytes
    Initial model about 6 hours ago
  • sentence_bert_config.json
    57 Bytes
    Initial model about 6 hours ago
  • tokenizer.json
    701 kB
    Initial model about 6 hours ago
  • tokenizer_config.json
    351 Bytes
    Initial model about 6 hours ago