Is it okay to use for Flux Lora training?
#8
by
WilsonModt
- opened
Would it be okay to use this model as a replacement for the clip-l?
Of course! It has an MIT license, same as the original CLIP-L by OpenAI. :)
Assuming you mean "training CLIP and the diffusion model together": Yes, technically, that is possible. However, it's not the best approach, considering CLIP does contrastive learning (the more negative examples there are in a batch => the bigger the batch_size, the better [up to a certain point]). In my experience, it is best to:
- Fine-tune the CLIP model in full, text and image, standalone
- Use the CLIP fine-tune with the diffusion model for training, but KEEP CLIP FROZEN and only train the diffusion model for aligning with the fine-tuned CLIP.
Hope that helps!