Instructions to use TheLastBen/The_Hound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TheLastBen/The_Hound with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("TheLastBen/The_Hound") prompt = "sandor clegane drinking in a pub" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Layers for concepts
#2
by Ertugrul - opened
Hey, targeting single transformer blocks works well for characters or styles, but when it comes to concepts (especially those unknown to pretraining, I guess), do you have any clues about what modules to target when it comes to more complex concepts? Because the current setup breaks everything for me and just overtrains the stuff outside the concept.
Great work anyways!
9 and 25 usually work well for concepts, don't use a very high lr, and start with a small amount of steps
Ertugrul changed discussion status to closed