Sentence Similarity
sentence-transformers
Safetensors
English
bert
ColBERT
multi-vector
feature-extraction
Generated from Trainer
dataset_size:497901
loss:Contrastive
text-embeddings-inference
Instructions to use NeuML/colbert-bert-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use NeuML/colbert-bert-tiny with sentence-transformers:
from sentence_transformers import MultiVectorEncoder model = MultiVectorEncoder("NeuML/colbert-bert-tiny") queries = ["Which planet is known as the Red Planet?"] documents = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", ] query_embeddings = model.encode_query(queries) document_embeddings = model.encode_document(documents) similarities = model.similarity(query_embeddings, document_embeddings) print(similarities) - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from NeuML/colbert-bert-tiny: direct link, hf CLI and curl.
- Browser
- Download file 17.6 MB
-
https://huggingface.co/NeuML/colbert-bert-tiny/resolve/main/model.safetensors
- Command line
-
hf download hf://NeuML/colbert-bert-tiny/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/NeuML/colbert-bert-tiny/resolve/main/model.safetensors
17.6 MB
- Xet hash:
- df7a621eff27e21ed770702c03282cab89c6e0f12dedd3f1ade116bddfe9ea96
- Size of remote file:
- 17.6 MB
- SHA256:
- 520fc0bc90d8bf51ddcfa05255c1b41bda0f4925577c0609d35201a5b2359814
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.