Run this model with HF Jobs
Run tianweiy/DMD2 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/tianweiy/DMD2. 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/tianweiy/DMD2 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 tianweiy/DMD2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tianweiy/DMD2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tianweiy/DMD2", 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
Tianwei Yin commited on
Commit ·
5d3045a
1
Parent(s): 6455775
update coco data
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:f1b2ba6a5d6795e554895dc746b4568a32db88b00eb05ed604d351f97d050032size 1885848603123version https://git-lfs.github.com/spec/v1oid sha256:fe9be816052049c34717e077d9e34aa60814a55679f804cd043e3cbee3b9fde0size 6645013297data/laion/captions_coco14_test.pkl → data/coco/captions_coco14_test.pklRenamed
data/coco/coco10k.zipAdded+3
data/coco/val2014.zipAdded+3