Run this model with HF Jobs

Run lambda/miniSD-diffusers 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/lambda/miniSD-diffusers. 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/lambda/miniSD-diffusers 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.

How do I finetune the attention layers of the unet?

#3
by Meeeeq - opened

There are optimized dreambooth repositories, but I don't know if I have access to this feature. Do you have any published code that demontrates this finetuning the attention layers? Thx

Also curious...

@Meeeeq check my implementation

https://github.com/kopyl/diffusers/blob/main/examples/text_to_image/train_text_to_image.py

Just add --train_attention_only argument when run train_text_to_image.py

Now i'm curious why did the author trained attention-only first then full unet instrad of training full unet from the beginning...

Sign up or log in to comment