aleksa-codes commited on
Commit
50ae0f6
·
verified ·
1 Parent(s): a849303

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -12
README.md CHANGED
@@ -72,33 +72,38 @@ The Flux Ghibsky Illustration model generates landscapes that blend serene, surr
72
 
73
  Use `GHIBSKY style` to invoke the model’s unique aesthetic. It’s best to start your prompt with the trigger word, followed by descriptions of your scene, such as nature, skies, houses, roads, villages, etc.
74
 
75
- If you are getting too realistic images try adding `painting` to your prompt, for example: `GHIBSKY style painting`
76
 
77
  ## Training Details
78
 
79
- - **Trained Using**: [ostris/flux-dev-lora-trainer](https://replicate.com/ostris/flux-dev-lora-trainer/train)
80
- - **Number of Images**: 35
81
- - **Trigger Word**: GHIBSKY
82
- - **Auto-captioning**: Enabled
83
- - **Auto-captioning Prefix**: “”
84
- - **Auto-captioning Suffix**: “, GHIBSKY style
85
- - **Training Steps**: 1000
86
- - **Learning Rate**: 0.0004
87
- - **Batch Size**: 1
88
- - **LoRA Rank**: 16
89
 
90
  ## Download Model
91
 
92
  [Download the *.safetensors LoRA](https://huggingface.co/aleksa-codes/flux-ghibsky-illustration/tree/main) in the Files & versions tab.
93
 
 
 
 
 
94
  ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
95
 
96
- ```py
97
  from diffusers import AutoPipelineForText2Image
98
  import torch
99
  pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
100
  pipeline.load_lora_weights('aleksa-codes/flux-ghibsky-illustration', weight_name='lora.safetensors')
101
  image = pipeline('GHIBSKY style, a serene lakeside village with colorful houses and towering mountains under a dreamy sky').images[0]
 
102
  ```
103
 
104
  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).
 
72
 
73
  Use `GHIBSKY style` to invoke the model’s unique aesthetic. It’s best to start your prompt with the trigger word, followed by descriptions of your scene, such as nature, skies, houses, roads, villages, etc.
74
 
75
+ If you are getting too realistic images, try adding `painting` to your prompt, for example: `GHIBSKY style painting`.
76
 
77
  ## Training Details
78
 
79
+ - **Trained Using**: [Flux LoRA Fast Training on fal.ai](https://fal.ai/models/fal-ai/flux-lora-fast-training) and [Flux LoRA Trainer on Replicate](https://replicate.com/ostris/flux-dev-lora-trainer/train)
80
+ - **Number of Images**: 35
81
+ - **Trigger Word**: `GHIBSKY`
82
+ - **Auto-captioning**: Enabled
83
+ - **Auto-captioning Prefix**: `""`
84
+ - **Auto-captioning Suffix**: `", GHIBSKY style"`
85
+ - **Training Steps**: 1000
86
+ - **Learning Rate**: 0.0004
87
+ - **Batch Size**: 1
88
+ - **LoRA Rank**: 16
89
 
90
  ## Download Model
91
 
92
  [Download the *.safetensors LoRA](https://huggingface.co/aleksa-codes/flux-ghibsky-illustration/tree/main) in the Files & versions tab.
93
 
94
+ ## Related Tools
95
+
96
+ For streamlined dataset preparation, you can try an open-source tool that I made [GPT Image Captioner](https://gptcaptioner.aleksa.io/), a tool designed to generate AI-powered captions for images. This tool simplifies the auto-captioning process, providing a downloadable zip file with captions formatted for training pipelines. It is compatible with tools such as [fal LoRA Trainer](https://fal.ai/models/fal-ai/flux-lora-fast-training) and [Replicate LoRA Trainer](https://replicate.com/ostris/flux-dev-lora-trainer/train), enabling seamless integration into workflows. Users are required to bring their own OpenAI API key for usage.
97
+
98
  ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
99
 
100
+ ```python
101
  from diffusers import AutoPipelineForText2Image
102
  import torch
103
  pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
104
  pipeline.load_lora_weights('aleksa-codes/flux-ghibsky-illustration', weight_name='lora.safetensors')
105
  image = pipeline('GHIBSKY style, a serene lakeside village with colorful houses and towering mountains under a dreamy sky').images[0]
106
+
107
  ```
108
 
109
  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).