AllwaysFurious commited on
Commit
2a70533
·
verified ·
1 Parent(s): 0771dc1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +31 -47
README.md CHANGED
@@ -1,73 +1,57 @@
1
  ---
2
  base_model: krea/Krea-2-Raw
3
- library_name: diffusers
4
- license: apache-2.0
5
- instance_prompt: dark fantasy ink style
6
- widget: []
7
  tags:
8
  - text-to-image
9
- - diffusers-training
10
  - diffusers
11
  - lora
12
  - krea2
13
- - krea2-diffusers
14
  - template:sd-lora
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
 
17
- <!-- This model card has been generated automatically according to the information the training script had access to. You
18
- should probably proofread and complete it, then remove this comment. -->
19
-
20
-
21
- # Krea 2 DreamBooth LoRA - AllwaysFurious/classicdnd
22
 
23
  <Gallery />
24
 
25
- ## Model description
26
 
27
- These are AllwaysFurious/classicdnd DreamBooth LoRA weights, trained on krea/Krea-2-Raw.
28
 
29
- 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).
30
 
31
- 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.
32
 
33
- ## Trigger words
34
 
35
- You should use `dark fantasy ink style` to trigger the image generation.
36
 
37
- ## Download model
38
 
39
- [Download the *.safetensors LoRA](AllwaysFurious/classicdnd/tree/main) in the Files & versions tab.
40
 
41
- ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
42
 
43
- ```py
44
- >>> import torch
45
- >>> from diffusers import Krea2Pipeline
46
-
47
- >>> # Load the LoRA onto Krea 2 Turbo (the distilled inference model)
48
- >>> pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
49
- >>> pipe.load_lora_weights("AllwaysFurious/classicdnd")
50
-
51
- >>> # Turbo recipe: 8 steps, no classifier-free guidance
52
- >>> image = pipe("dark fantasy ink style", num_inference_steps=8, guidance_scale=0.0).images[0]
53
- >>> image.save("output.png")
54
- ```
55
 
56
- 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)
57
 
 
 
 
58
 
59
- ## Intended uses & limitations
60
-
61
- #### How to use
62
-
63
- ```python
64
- # TODO: add an example code snippet for running this diffusion pipeline
65
  ```
66
-
67
- #### Limitations and bias
68
-
69
- [TODO: provide examples of latent issues and potential remediations]
70
-
71
- ## Training details
72
-
73
- [TODO: describe the data used to train the model]
 
1
  ---
2
  base_model: krea/Krea-2-Raw
 
 
 
 
3
  tags:
4
  - text-to-image
 
5
  - diffusers
6
  - lora
7
  - krea2
 
8
  - template:sd-lora
9
+ license: apache-2.0
10
+ instance_prompt: "dark fantasy ink style"
11
+ widget:
12
+ - text: "A colossal skeletal dragon coiled around a crumbling gothic spire under a blood-red moon, dark fantasy ink style"
13
+ output:
14
+ url: sample_0.png
15
+ - text: "A hooded plague doctor walking through a fog-drenched cobblestone alleyway lit by a single flickering lantern, dark fantasy ink style"
16
+ output:
17
+ url: sample_1.png
18
+ - text: "An ornate, decaying throne room overgrown with black thorny vines and shimmering ghostly embers, dark fantasy ink style"
19
+ output:
20
+ url: sample_2.png
21
  ---
22
 
23
+ # Krea 2 LoRA AllwaysFurious/classicdnd
 
 
 
 
24
 
25
  <Gallery />
26
 
27
+ 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).
28
 
29
+ ## Trigger
30
 
31
+ Use the phrase `dark fantasy ink style` to invoke the concept.
32
 
33
+ ## Samples
34
 
35
+ ![sample](./sample_0.png)
36
 
37
+ > *"A colossal skeletal dragon coiled around a crumbling gothic spire under a blood-red moon, dark fantasy ink style"*
38
 
39
+ ![sample](./sample_1.png)
40
 
41
+ > *"A hooded plague doctor walking through a fog-drenched cobblestone alleyway lit by a single flickering lantern, dark fantasy ink style"*
42
 
43
+ ![sample](./sample_2.png)
44
 
45
+ > *"An ornate, decaying throne room overgrown with black thorny vines and shimmering ghostly embers, dark fantasy ink style"*
 
 
 
 
 
 
 
 
 
 
 
46
 
47
+ ## Use it with diffusers
48
 
49
+ ```py
50
+ import torch
51
+ from diffusers import Krea2Pipeline
52
 
53
+ pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
54
+ pipe.load_lora_weights("AllwaysFurious/classicdnd")
55
+ image = pipe("A colossal skeletal dragon coiled around a crumbling gothic spire under a blood-red moon, dark fantasy ink style", num_inference_steps=8, guidance_scale=0.0).images[0]
56
+ image.save("output.png")
 
 
57
  ```