ettin-encoder-32m-colbert
compact encoder for semantic search
2 min readupdated
The ettin-encoder-32m-colbert-nq-mnrl-meanmaxsim model is a multi-vector encoder trained for semantic search with late interaction using the ColBERT method. It is built on the ModernBert architecture (with 32 million parameters) and fine-tuned on the natural-questions-hard-negatives dataset using the sentence-transformers library. The model outputs sequences of 128-dimensional vectors for each token, enabling precise matching between queries and documents. This tool is useful for developers and researchers who need an efficient and lightweight search engine for semantic text analysis.
Key features
- Built on the lightweight ModernBert model with 32 million parameters.
- Supports multi-vector token output with a dimension of 128.
- Uses the MeanMaxSim similarity function for precise matching.
- Runs via the popular sentence-transformers library.
What you can do
- Set up advanced semantic search over documents or knowledge bases in your project.
- Test search quality on your own text datasets.
- Integrate the model into natural language processing (NLP) pipelines for feature extraction tasks.
Example
from sentence_transformers import MultiVectorEncoder
model = MultiVectorEncoder("evalstate/ettin-encoder-32m-colbert-nq-mnrl-meanmaxsim")
queries = ['when is iron fist season 2 being released']
documents = ['Iron Fist (season 2) The season was released on September 7, 2018...']
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
Read more
Details• Training dataset: natural-questions-hard-negatives (96,658 examples)
• Metrics: Nano NQ NDCG@10: 0.5736, MRR@10: 0.5466
• Limitations: maximum query length of 32 tokens, documents of 300 tokens
• License: mit










Comments