Sentence Similarity
sentence-transformers
Safetensors
English
distilbert
feature-extraction
visual-document-retrieval
cross-modal-distillation
knowledge-distillation
nanovdr
Eval Results (legacy)
text-embeddings-inference
Instructions to use nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048") 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 config.json from nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048/resolve/main/config.json
- Command line
-
hf download hf://nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048/config.json
-
curl -L -o config.json https://huggingface.co/nanovdr/NanoVDR-Q-DistilBERT-Qwen3VL2B-2048/resolve/main/config.json
494 Bytes
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertModel" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "hidden_dim": 3072, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "transformers_version": "4.57.6", | |
| "vocab_size": 30522 | |
| } | |