Run this model with HF Jobs
Run MagicBooth/mush 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/MagicBooth/mush. 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/MagicBooth/mush 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.
Instructions to use MagicBooth/mush with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MagicBooth/mush with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MagicBooth/mush", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload . with huggingface_hub
Browse filesFiles changed (3)
11 unmodified lines12131415161718192021222324252617 unmodified lines444546474811 unmodified lines"save_infer_steps": 50,"pad_tokens": false,"prior_loss_weight": 1.0,"num_class_images": 200,"output_dir": "results","seed": 1234,"resolution": 512,"center_crop": false,"train_batch_size": 1,"sample_batch_size": 5,"max_train_steps": 1000,"max_train_text_encoder": 500,"gradient_checkpointing": false,"learning_rate": 1e-06,"lr_scheduler": "constant",17 unmodified lines],"repo_name": "mush","instance_class": "doy pack","num_train_epochs": 5}11 unmodified lines12131415161718192021222324252617 unmodified lines444546474811 unmodified lines"save_infer_steps": 50,"pad_tokens": false,"prior_loss_weight": 1.0,"num_class_images": 300,"output_dir": "results","seed": 1234,"resolution": 512,"center_crop": false,"train_batch_size": 1,"sample_batch_size": 5,"max_train_steps": 3000,"max_train_text_encoder": 1500,"gradient_checkpointing": false,"learning_rate": 1e-06,"lr_scheduler": "constant",17 unmodified lines],"repo_name": "mush","instance_class": "doy pack","num_train_epochs": 10}
123version https://git-lfs.github.com/spec/v1oid sha256:071deaf19c8ba0cf7649e6f94b12cd8da2180b7cf5814f6bf7e4e88ce7e7d07dsize 680901463123version https://git-lfs.github.com/spec/v1oid sha256:9be5dccd8d284080e6f8510d801b135e82e6815488e16292bf1fb87cbb5df901size 680901463
123version https://git-lfs.github.com/spec/v1oid sha256:4a7e2fb975dd696492e720bc8d157cb173a89a01c10b2011312fda6a26f5f7basize 1732101605123version https://git-lfs.github.com/spec/v1oid sha256:60cda4953f9e71a0858c175fdc576246438d1bf68c6e7bf12e4ba14ab15fedfdsize 1732101605
args.json+4-4
text_encoder/pytorch_model.bin+1-1
unet/diffusion_pytorch_model.bin+1-1