Commit
•
e0c9d52
1
Parent(s):
b5af29a
Upload folder using huggingface_hub
Browse files- .ipynb_checkpoints/README-checkpoint.md +71 -0
- README.md +71 -0
- pytorch_lora_weights.safetensors +3 -0
.ipynb_checkpoints/README-checkpoint.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
3 |
+
library_name: diffusers
|
4 |
+
license: other
|
5 |
+
widget: []
|
6 |
+
tags:
|
7 |
+
- text-to-image
|
8 |
+
- diffusers-training
|
9 |
+
- diffusers
|
10 |
+
- lora
|
11 |
+
- flux
|
12 |
+
- flux-diffusers
|
13 |
+
- template:sd-lora
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
|
20 |
+
# Flux DreamBooth LoRA - davidberenstein1957/image-preferences-flux-dev-lora
|
21 |
+
|
22 |
+
<Gallery />
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
These are davidberenstein1957/image-preferences-flux-schnell-lora DreamBooth LoRA weights for black-forest-labs/FLUX.1-schnell.
|
27 |
+
|
28 |
+
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).
|
29 |
+
|
30 |
+
Was LoRA for the text encoder enabled? False.
|
31 |
+
|
32 |
+
## Trigger words
|
33 |
+
|
34 |
+
You should use `` to trigger the image generation.
|
35 |
+
|
36 |
+
## Download model
|
37 |
+
|
38 |
+
[Download the *.safetensors LoRA](davidberenstein1957/image-preferences-flux-schnell-dev/tree/main) in the Files & versions tab.
|
39 |
+
|
40 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
41 |
+
|
42 |
+
```py
|
43 |
+
from diffusers import AutoPipelineForText2Image
|
44 |
+
import torch
|
45 |
+
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
46 |
+
pipeline.load_lora_weights('davidberenstein1957/image-preferences-flux-dev-lora', weight_name='pytorch_lora_weights.safetensors')
|
47 |
+
image = pipeline('').images[0]
|
48 |
+
```
|
49 |
+
|
50 |
+
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)
|
51 |
+
|
52 |
+
## License
|
53 |
+
|
54 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
55 |
+
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
#### How to use
|
60 |
+
|
61 |
+
```python
|
62 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
63 |
+
```
|
64 |
+
|
65 |
+
#### Limitations and bias
|
66 |
+
|
67 |
+
[TODO: provide examples of latent issues and potential remediations]
|
68 |
+
|
69 |
+
## Training details
|
70 |
+
|
71 |
+
[TODO: describe the data used to train the model]
|
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
3 |
+
library_name: diffusers
|
4 |
+
license: other
|
5 |
+
widget: []
|
6 |
+
tags:
|
7 |
+
- text-to-image
|
8 |
+
- diffusers-training
|
9 |
+
- diffusers
|
10 |
+
- lora
|
11 |
+
- flux
|
12 |
+
- flux-diffusers
|
13 |
+
- template:sd-lora
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
|
20 |
+
# Flux DreamBooth LoRA - davidberenstein1957/image-preferences-flux-dev-lora
|
21 |
+
|
22 |
+
<Gallery />
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
These are davidberenstein1957/image-preferences-flux-schnell-lora DreamBooth LoRA weights for black-forest-labs/FLUX.1-schnell.
|
27 |
+
|
28 |
+
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).
|
29 |
+
|
30 |
+
Was LoRA for the text encoder enabled? False.
|
31 |
+
|
32 |
+
## Trigger words
|
33 |
+
|
34 |
+
You should use `` to trigger the image generation.
|
35 |
+
|
36 |
+
## Download model
|
37 |
+
|
38 |
+
[Download the *.safetensors LoRA](davidberenstein1957/image-preferences-flux-schnell-dev/tree/main) in the Files & versions tab.
|
39 |
+
|
40 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
41 |
+
|
42 |
+
```py
|
43 |
+
from diffusers import AutoPipelineForText2Image
|
44 |
+
import torch
|
45 |
+
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
46 |
+
pipeline.load_lora_weights('davidberenstein1957/image-preferences-flux-dev-lora', weight_name='pytorch_lora_weights.safetensors')
|
47 |
+
image = pipeline('').images[0]
|
48 |
+
```
|
49 |
+
|
50 |
+
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)
|
51 |
+
|
52 |
+
## License
|
53 |
+
|
54 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
55 |
+
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
#### How to use
|
60 |
+
|
61 |
+
```python
|
62 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
63 |
+
```
|
64 |
+
|
65 |
+
#### Limitations and bias
|
66 |
+
|
67 |
+
[TODO: provide examples of latent issues and potential remediations]
|
68 |
+
|
69 |
+
## Training details
|
70 |
+
|
71 |
+
[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:d3a26c40c2957e206e89d45cf473f04f8654e4a96337ac3f4e80289d51062c33
|
3 |
+
size 44917032
|