Instructions to use aimalias/sw33n3y3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aimalias/sw33n3y3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("aimalias/sw33n3y3") prompt = "A cinematic shot of a SW33N3Y woman wearing holographic armor, standing amidst the neon-drenched skyscrapers of a rainy cyberpunk metropolis." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273---base_model: krea/Krea-2-Rawlibrary_name: diffuserslicense: apache-2.0instance_prompt: SW33N3Y womanwidget: []tags:- text-to-image- diffusers-training- diffusers- lora- krea2- krea2-diffusers- template:sd-lora---<!-- This model card has been generated automatically according to the information the training script had access to. Youshould probably proofread and complete it, then remove this comment. --># Krea 2 DreamBooth LoRA - aimalias/sw33n3y3<Gallery />## Model descriptionThese are aimalias/sw33n3y3 DreamBooth LoRA weights, trained on krea/Krea-2-Raw.The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Krea 2 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_krea2.md).Krea 2 ships as two checkpoints: **RAW** (the non-distilled base you fine-tune on) and **Turbo** (an 8-step distilled checkpoint for fast, high-quality inference). Train your LoRA on RAW and run it on Turbo — LoRAs trained on RAW express strongly on Turbo.## Trigger wordsYou should use `SW33N3Y woman` to trigger the image generation.## Download model[Download the *.safetensors LoRA](aimalias/sw33n3y3/tree/main) in the Files & versions tab.## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)```py>>> import torch>>> from diffusers import Krea2Pipeline>>> # Load the LoRA onto Krea 2 Turbo (the distilled inference model)>>> pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")>>> pipe.load_lora_weights("aimalias/sw33n3y3")>>> # Turbo recipe: 8 steps, no classifier-free guidance>>> image = pipe("SW33N3Y woman", num_inference_steps=8, guidance_scale=0.0).images[0]>>> image.save("output.png")```For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)## Intended uses & limitations#### How to use```python# TODO: add an example code snippet for running this diffusion pipeline```#### Limitations and bias[TODO: provide examples of latent issues and potential remediations]## Training details[TODO: describe the data used to train the model]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657---base_model: krea/Krea-2-Rawtags:- text-to-image- diffusers- lora- krea2- template:sd-loralicense: apache-2.0instance_prompt: "SW33N3Y woman"widget:- text: "A cinematic shot of a SW33N3Y woman wearing holographic armor, standing amidst the neon-drenched skyscrapers of a rainy cyberpunk metropolis."output:url: sample_0.png- text: "A soft, ethereal portrait of a SW33N3Y woman dressed in flowing linen, gathering wildflowers in a sun-drenched Tuscan meadow during golden hour."output:url: sample_1.png- text: "A high-contrast noir scene of a SW33N3Y woman in a vintage trench coat, leaning against a brick wall in a foggy 1940s London alleyway under a single streetlamp."output:url: sample_2.png---# Krea 2 LoRA — aimalias/sw33n3y3<Gallery />A DreamBooth-LoRA for **Krea 2**, trained on **Krea 2 RAW** and shown on **Krea 2 Turbo**. The samples below were generated with this LoRA on Turbo (8 steps).## TriggerUse the token `SW33N3Y woman` to invoke the concept.## Samples> *"A cinematic shot of a SW33N3Y woman wearing holographic armor, standing amidst the neon-drenched skyscrapers of a rainy cyberpunk metropolis."*> *"A soft, ethereal portrait of a SW33N3Y woman dressed in flowing linen, gathering wildflowers in a sun-drenched Tuscan meadow during golden hour."*> *"A high-contrast noir scene of a SW33N3Y woman in a vintage trench coat, leaning against a brick wall in a foggy 1940s London alleyway under a single streetlamp."*## Use it with diffusers```pyimport torchfrom diffusers import Krea2Pipelinepipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")pipe.load_lora_weights("aimalias/sw33n3y3")image = pipe("A cinematic shot of a SW33N3Y woman wearing holographic armor, standing amidst the neon-drenched skyscrapers of a rainy cyberpunk metropolis.", num_inference_steps=8, guidance_scale=0.0).images[0]image.save("output.png")```
README.md+31-47