Instructions to use cairo2000/dinov3-vitb16-pretrain-lvd1689m-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cairo2000/dinov3-vitb16-pretrain-lvd1689m-embed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="cairo2000/dinov3-vitb16-pretrain-lvd1689m-embed")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cairo2000/dinov3-vitb16-pretrain-lvd1689m-embed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
DINOv3 ViT-B/16 embedding endpoint (custom handler)
Deploy this repo as a Hugging Face Inference Endpoint (Task = Custom).
Weights are loaded from gated facebook/dinov3-vitb16-pretrain-lvd1689m at startup
(pooler_output + L2-norm โ 768-d).
Required: HF token for gated Meta model
- Accept access on https://huggingface.co/facebook/dinov3-vitb16-pretrain-lvd1689m
- In the Inference Endpoint โ Settings / Secrets, add:
HF_TOKEN= your Hugging Face write/read token (account that accepted the license)
- Optional env:
DINO_MODEL_ID=facebook/dinov3-vitb16-pretrain-lvd1689m - Restart / update the endpoint after changing secrets
Without HF_TOKEN the container gets 401 gated repo on boot.
Request
{"inputs": {"images": ["data:image/jpeg;base64,..."]}, "normalize": true}
Response
image_embeddings, dim, timings_ms
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support