Instructions to use nielsr/crossmae-small-patch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/crossmae-small-patch16 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nielsr/crossmae-small-patch16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nielsr/crossmae-small-patch16: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/nielsr/crossmae-small-patch16/resolve/main/config.json
- Command line
-
hf download hf://nielsr/crossmae-small-patch16/config.json
-
curl -L -o config.json https://huggingface.co/nielsr/crossmae-small-patch16/resolve/main/config.json
131 Bytes
| {"patch_size": 16, "embed_dim": 384, "depth": 12, "num_heads": 6, "decoder_embed_dim": 256, "decoder_num_heads": 8, "mlp_ratio": 4} |