Run this model with HF Jobs

Run BAAI/AltDiffusion-m9 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/BAAI/AltDiffusion-m9. 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/BAAI/AltDiffusion-m9 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.

训练使用的句子长度

#2
by junnyu - opened

我看BAAI/AltDiffusion的tokenizer最大长度被HF改成了77,请问这里是不是也应该为77?

Beijing Academy of Artificial Intelligence org

是的,训练的时候也是参考CLIP原本的设置 77.

好的谢谢,还有个疑惑,这里的model_index.json里面使用的是PNDM scheduler而scheduler文件夹里面用的是ddim scheduler,感觉需要纠正一下吧

Beijing Academy of Artificial Intelligence org

我理解是主要以model_index.json为准,训练的时候用的是ddim,推理的时候可以随意设置

我理解是主要以model_index.json为准,训练的时候用的是ddim,推理的时候可以随意设置
为什么训练的时候用的是ddim?哪里有说明?请问下推理和和训练选择scheduler有什么讲究?

Beijing Academy of Artificial Intelligence org

stable diffusion 给的默认配置里面是DDPM 抽样方法

image.png
但是LDM paper里面evaluate主要是用DDIM抽样方法

image.png

Sign up or log in to comment