Instructions to use facebook/dinov2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dinov2-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="facebook/dinov2-base")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/dinov2-base") model = AutoModel.from_pretrained("facebook/dinov2-base") - Notebooks
- Google Colab
- Kaggle
models with registers
#8
by mzschwartz88 - opened
Hi there - thanks for all the great work on these models! Finding them super useful and interesting. Curious if anyone is planning to put the model versions with registers up here?
hey i was wondering that too any updates?
Yes I just ported them, will be uploaded to the hub once the PR is approved: https://github.com/huggingface/transformers/pull/31832