How does LORA and training work with HuggingFace?
I’ve been playing around withreplicate.comto easily provide an API solution to diffusion models and it works great when dealing with training images (ie: LORA). I was wondering how we can do the same with huggingface?With Replicate, you essentially get a new version of the model, and then you can run specific prompts with the token of the subject and it’ll produce what you’ve trained.How does huggingface’s interference API work? I’m a bit new to the huggingface ecosystem, and hoping someone can direct me to right direction.Thanks!
2023-09-08T12:23:18Z
Hi there!For training within the HF ecosystem, you can get started with our colabGoogle Colabor duplicate this space:Dreambooth - a Hugging Face Space by autotrain-projectsand associate a GPU to it. Once you upload a HF trained LoRA to a model repo, the inference widget will work out of the box and you can also use it with the inference api, you can check the inference api docs for it.You can also bring your Replicate LoRA to Hugging Face using this Google Colab:Google Colabbut they dont yet support the inference widget