dinov2 / README.md
eugenehp's picture
Upload README.md with huggingface_hub
e28f652 verified
|
Raw
History Blame Contribute Delete
1.75 kB
---
license: apache-2.0
pipeline_tag: image-feature-extraction
library_name: rlx
tags:
- dinov2
- vision
- rlx
---
# DINOv2 ViT-L/14 (RLX meta layout)
DINOv2 ViT-L/14 with HF + RLX meta-key safetensors.
| Field | Value |
|---|---|
| **Hub id** | [`eugenehp/dinov2`](https://huggingface.co/eugenehp/dinov2) |
| **Kind** | Converted / re-laid-out for RLX from an upstream checkpoint. |
| **RLX crate** | [`rlx-dinov2`](https://github.com/MIT-RLX/rlx-models/tree/main/crates/rlx-dinov2) |
| **Upstream** | https://huggingface.co/facebook/dinov2-large |
## Quick start
```bash
hf download eugenehp/dinov2 --local-dir .
cargo run -p rlx-dinov2 --release -- --weights dinov2_vitl14.meta.safetensors --image photo.jpg
```
## Contents
`dinov2_vitl14.safetensors` (HF keys) and `dinov2_vitl14.meta.safetensors` (RLX meta layout).
## Do not use as the main runtime pack
These files may be present for historical / staging reasons but are **not** the supported RLX load path:
- `dinov2.f16.gguf`
Community `*.f16.gguf` / LM-only Q4 packs are format wraps — they are not drop-in replacements for the RLX primary file above.
## Run with RLX
Clone [rlx-models](https://github.com/MIT-RLX/rlx-models), place this repo under `weights/vision/dinov2` (or pass the path explicitly), then:
```bash
cargo run -p rlx-dinov2 --release -- --weights dinov2_vitl14.meta.safetensors --image photo.jpg
```
## License
Apache License 2.0 — see `LICENSE`. Inherit upstream terms when redistributing.
Original weights and authorship: https://huggingface.co/facebook/dinov2-large
## Maintenance
Cards and LFS attrs are regenerated from the local `weights/` tree in [rlx-models](https://github.com/MIT-RLX/rlx-models) via `python3 scripts/prepare_weights_hf.py`.