End of training
Browse files- README.md +74 -0
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
3 |
+
library_name: diffusers
|
4 |
+
license: other
|
5 |
+
tags:
|
6 |
+
- text-to-image
|
7 |
+
- diffusers-training
|
8 |
+
- diffusers
|
9 |
+
- lora
|
10 |
+
- flux
|
11 |
+
- flux-diffusers
|
12 |
+
- template:sd-lora
|
13 |
+
instance_prompt: A photo of sks dog in a bucket
|
14 |
+
widget: []
|
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 |
+
# Flux DreamBooth LoRA - sayakpaul/fp8-dog-lora-flux
|
22 |
+
|
23 |
+
<Gallery />
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
These are sayakpaul/fp8-dog-lora-flux DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
|
28 |
+
|
29 |
+
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Flux diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_flux.md).
|
30 |
+
|
31 |
+
Was LoRA for the text encoder enabled? False.
|
32 |
+
|
33 |
+
FP8 training? True
|
34 |
+
|
35 |
+
## Trigger words
|
36 |
+
|
37 |
+
You should use `A photo of sks dog in a bucket` to trigger the image generation.
|
38 |
+
|
39 |
+
## Download model
|
40 |
+
|
41 |
+
[Download the *.safetensors LoRA](sayakpaul/fp8-dog-lora-flux/tree/main) in the Files & versions tab.
|
42 |
+
|
43 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
44 |
+
|
45 |
+
```py
|
46 |
+
from diffusers import AutoPipelineForText2Image
|
47 |
+
import torch
|
48 |
+
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
49 |
+
pipeline.load_lora_weights('sayakpaul/fp8-dog-lora-flux', weight_name='pytorch_lora_weights.safetensors')
|
50 |
+
image = pipeline('A photo of sks dog in a bucket').images[0]
|
51 |
+
```
|
52 |
+
|
53 |
+
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)
|
54 |
+
|
55 |
+
## License
|
56 |
+
|
57 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
58 |
+
|
59 |
+
|
60 |
+
## Intended uses & limitations
|
61 |
+
|
62 |
+
#### How to use
|
63 |
+
|
64 |
+
```python
|
65 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
66 |
+
```
|
67 |
+
|
68 |
+
#### Limitations and bias
|
69 |
+
|
70 |
+
[TODO: provide examples of latent issues and potential remediations]
|
71 |
+
|
72 |
+
## Training details
|
73 |
+
|
74 |
+
[TODO: describe the data used to train the model]
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33b97fa1a597aa23110165c900ff18af7218d80aeb51c2e68a1fd8b5bb0ea7bf
|
3 |
+
size 18727592
|