Instructions to use dalle-mini/dalle-mega with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dalle-mini/dalle-mega with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import eBart model = eBart.from_pretrained("dalle-mini/dalle-mega", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from dalle-mini/dalle-mega: direct link, hf CLI and curl.
- Browser
- Download file 2.12 MB
-
https://huggingface.co/dalle-mini/dalle-mega/resolve/main/tokenizer.json
- Command line
-
hf download hf://dalle-mini/dalle-mega/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/dalle-mini/dalle-mega/resolve/main/tokenizer.json
2.12 MB
File too large to display, you can check the raw version instead.