Instructions to use guillekenzo/aros-994ab152-R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use guillekenzo/aros-994ab152-R 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("guillekenzo/aros-994ab152-R") prompt = "A photo of ggfv person on a wooden table indoors." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- krea/Krea-2-Turbo
|
| 4 |
+
- krea/Krea-2-Raw
|
| 5 |
+
library_name: diffusers
|
| 6 |
+
license: apache-2.0
|
| 7 |
+
instance_prompt: ggfv person
|
| 8 |
+
widget: []
|
| 9 |
+
tags:
|
| 10 |
+
- text-to-image
|
| 11 |
+
- diffusers-training
|
| 12 |
+
- diffusers
|
| 13 |
+
- lora
|
| 14 |
+
- krea2
|
| 15 |
+
- krea2-diffusers
|
| 16 |
+
- template:sd-lora
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
| 20 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
# Krea 2 DreamBooth LoRA - guillekenzo/aros-994ab152-R
|
| 24 |
+
|
| 25 |
+
<Gallery />
|
| 26 |
+
|
| 27 |
+
## Model description
|
| 28 |
+
|
| 29 |
+
These are guillekenzo/aros-994ab152-R DreamBooth LoRA weights, trained on krea/Krea-2-Raw.
|
| 30 |
+
|
| 31 |
+
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).
|
| 32 |
+
|
| 33 |
+
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.
|
| 34 |
+
|
| 35 |
+
## Trigger words
|
| 36 |
+
|
| 37 |
+
You should use `ggfv person` to trigger the image generation.
|
| 38 |
+
|
| 39 |
+
## Download model
|
| 40 |
+
|
| 41 |
+
[Download the *.safetensors LoRA](guillekenzo/aros-994ab152-R/tree/main) in the Files & versions tab.
|
| 42 |
+
|
| 43 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 44 |
+
|
| 45 |
+
```py
|
| 46 |
+
>>> import torch
|
| 47 |
+
>>> from diffusers import Krea2Pipeline
|
| 48 |
+
|
| 49 |
+
>>> # Load the LoRA onto Krea 2 Turbo (the distilled inference model)
|
| 50 |
+
>>> pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
|
| 51 |
+
>>> pipe.load_lora_weights("guillekenzo/aros-994ab152-R")
|
| 52 |
+
|
| 53 |
+
>>> # Turbo recipe: 8 steps, no classifier-free guidance
|
| 54 |
+
>>> image = pipe("ggfv person", num_inference_steps=8, guidance_scale=0.0).images[0]
|
| 55 |
+
>>> image.save("output.png")
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
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)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
## Intended uses & limitations
|
| 62 |
+
|
| 63 |
+
#### How to use
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
#### Limitations and bias
|
| 70 |
+
|
| 71 |
+
[TODO: provide examples of latent issues and potential remediations]
|
| 72 |
+
|
| 73 |
+
## Training details
|
| 74 |
+
|
| 75 |
+
[TODO: describe the data used to train the model]
|
checkpoint-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c74832a2ea7c7f55839011fdbdebe3d77c9a921b5fdbf8b33b2389b030bb3d6
|
| 3 |
+
size 192208275
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02f6dcf80a9ea86f9b7ffce25bfdcde8c81a8f6bbc7dab9f65292693dbddaa86
|
| 3 |
+
size 95970608
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f24c62c305e7c62aa3fc4605a64662c6f94fda29313d6c01943e44d941a38eb
|
| 3 |
+
size 14757
|
checkpoint-500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6b09a32f9bd8c3811caf53e7088f9d0094eade3af68c322a05eb696814b1a19
|
| 3 |
+
size 1401
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a11595a921e40f832295f4f07e0af537d0d2e9c6d85a22690577e587b6250c2
|
| 3 |
+
size 95970608
|