Run this model with HF Jobs
Run sd-dreambooth-library/backpack 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/sd-dreambooth-library/backpack. 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/sd-dreambooth-library/backpack 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 sd-dreambooth-library/backpack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sd-dreambooth-library/backpack with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sd-dreambooth-library/backpack", 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 the concept Backpack embeds and token
Browse filesFiles changed (2)
- README.mdAdded+14
- token_identifier.txtAdded+1
1234567891011121314---license: mit---### Backpack on Stable Diffusion via Dreambooth#### model by homanpThis your the Stable Diffusion model fine-tuned the Backpack concept taught to Stable Diffusion with Dreambooth.It can be used by modifying the `instance_prompt`: **a photo of sks backpack**
You can also train your own concepts and upload them to the library by using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb).
Here are the images used for training this concept:
1a photo of sks backpackREADME.mdAdded+14
token_identifier.txtAdded+1