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:
# Load model directly from transformers import eBart model = eBart.from_pretrained("dalle-mini/dalle-mega", dtype="auto") - Notebooks
- Google Colab
- Kaggle
metadata++
#4
by Ezi - opened
added additional metadata information
Thanks, is there a way to deactivate the inference widget?
boris changed pull request status to merged
Yes, you can check out https://huggingface.co/docs/hub/models-inference#how-can-i-turn-off-the-inference-api-for-my-model (inference: false)
You can leave out the g from the carbon emissions (just a number) or better yet, follow the schema from https://huggingface.co/docs/hub/models-cards-co2#carbon-footprint-metadata
co2_eq_emissions:
emissions: 450300
We'll add validation for this soon!