Document dinov3_config.json -- no Meta gate needed to load this model
Browse files
README.md
CHANGED
|
@@ -71,7 +71,10 @@ python predict.py --input_dir <path/to/images> --output results.json
|
|
| 71 |
```
|
| 72 |
|
| 73 |
This repo is **private** — pass a token (`from_pretrained(hf_token="hf_...")`
|
| 74 |
-
or set `HF_TOKEN`/run `huggingface-cli login`) to access it.
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
## Files
|
| 77 |
|
|
@@ -80,6 +83,10 @@ or set `HF_TOKEN`/run `huggingface-cli login`) to access it.
|
|
| 80 |
into its weights (`peft`'s `merge_and_unload()`, verified numerically
|
| 81 |
exact before shipping — max output difference vs. the pre-merge model was
|
| 82 |
1e-12, pure floating-point noise), plus the Low-Rank Attention Block and
|
| 83 |
-
classifier head.
|
| 84 |
-
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
```
|
| 72 |
|
| 73 |
This repo is **private** — pass a token (`from_pretrained(hf_token="hf_...")`
|
| 74 |
+
or set `HF_TOKEN`/run `huggingface-cli login`) to access it. Getting access
|
| 75 |
+
here is the *only* gate: unlike the base DINOv3 checkpoint
|
| 76 |
+
(`facebook/dinov3-vith16plus-pretrain-lvd1689m`, gated with **manual review**
|
| 77 |
+
by Meta), loading this model never touches that repo at all — see `Files`.
|
| 78 |
|
| 79 |
## Files
|
| 80 |
|
|
|
|
| 83 |
into its weights (`peft`'s `merge_and_unload()`, verified numerically
|
| 84 |
exact before shipping — max output difference vs. the pre-merge model was
|
| 85 |
1e-12, pure floating-point noise), plus the Low-Rank Attention Block and
|
| 86 |
+
classifier head.
|
| 87 |
+
- `dinov3_config.json` — DINOv3's architecture metadata (hidden size, layer
|
| 88 |
+
count, etc.) mirrored here, **not its weights**. Together with
|
| 89 |
+
`mlorc-full.pt` this means loading the model never needs access to
|
| 90 |
+
`facebook/dinov3-vith16plus-pretrain-lvd1689m` at all — verified with that
|
| 91 |
+
repo's local cache deliberately removed before loading, output still
|
| 92 |
+
bit-identical. No adapter file, no second HF repo, no Meta gate to clear.
|