Run this model with HF Jobs

Run zeromodels/stable-diffusion-2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/zeromodels/stable-diffusion-2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/zeromodels/stable-diffusion-2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
stable-diffusion-2 / zm_preprocessor.json
IMvision12's picture
Load with ZMDiffusion / ZMDiffusionTokenizer (zeromodels.diffusers)
780a656 verified
Raw History Blame Contribute Delete
279 Bytes
{
"library_name": "zeromodels",
"zeromodels_version": "1.3.3",
"preprocessor_module": "zeromodels.diffusers",
"preprocessor_class": "ZMDiffusionTokenizer",
"variant": "stable-diffusion-2",
"model_type": "stable_diffusion_2",
"max_seq_len": 77,
"pad_token": "!"
}