Run this model with HF Jobs
Run mpatel57/backpack_dog 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/mpatel57/backpack_dog. 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/mpatel57/backpack_dog 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 mpatel57/backpack_dog with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mpatel57/backpack_dog with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mpatel57/backpack_dog", 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
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("mpatel57/backpack_dog", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Finetuning - mpatel57/backpack_dog
This pipeline was finetuned from kandinsky-community/kandinsky-2-2-decoder. Below are some example images generated with the finetuned pipeline using the following prompts: ['A dog']:
Note: these example images should not follow the original target concept!! This is to ensure that there is not overfitting.
Pipeline usage
Training info
These are the key hyperparameters used during training:
- Epochs: 200
- Learning rate: 1e-05
- Batch size: 1
- Gradient accumulation steps: 4
- Image resolution: 768
- Mixed-precision: None
More information on all the CLI arguments and the environment are available on your wandb run page.
- Downloads last month
- 9
Model tree for mpatel57/backpack_dog
Base model
kandinsky-community/kandinsky-2-2-decoder