Sentence Similarity
sentence-transformers
Safetensors
modernbert
feature-extraction
visual-document-retrieval
cross-modal-distillation
multilingual
nanovdr
text-embeddings-inference
Instructions to use nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL2B-2048-ML/resolve/main/special_tokens_map.json
694 Bytes
| { | |
| "cls_token": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "mask_token": { | |
| "content": "[MASK]", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "sep_token": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |