Instructions to use nielsr/vil-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/vil-tiny with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nielsr/vil-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nielsr/vil-tiny: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/nielsr/vil-tiny/resolve/main/config.json
- Command line
-
hf download hf://nielsr/vil-tiny/config.json
-
curl -L -o config.json https://huggingface.co/nielsr/vil-tiny/resolve/main/config.json
315 Bytes
| { | |
| "alternation": "bidirectional", | |
| "depth": 24, | |
| "dim": 192, | |
| "drop_path_decay": false, | |
| "drop_path_rate": 0.0, | |
| "input_shape": [ | |
| 3, | |
| 224, | |
| 224 | |
| ], | |
| "legacy_norm": true, | |
| "mode": "classifier", | |
| "output_shape": [ | |
| 1000 | |
| ], | |
| "patch_size": 16, | |
| "pooling": "bilateral_avg", | |
| "stride": null | |
| } |