Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,7 @@ tags:
|
|
| 4 |
- lora
|
| 5 |
- diffusers
|
| 6 |
- template:diffusion-lora
|
|
|
|
| 7 |
widget:
|
| 8 |
- text: '-'
|
| 9 |
output:
|
|
@@ -11,19 +12,59 @@ widget:
|
|
| 11 |
base_model: black-forest-labs/FLUX.1-dev
|
| 12 |
instance_prompt: CAnime
|
| 13 |
license: creativeml-openrail-m
|
|
|
|
| 14 |
---
|
| 15 |
# CAnime-LoRA
|
| 16 |
|
| 17 |
<Gallery />
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Trigger words
|
| 21 |
|
| 22 |
You should use `CAnime` to trigger the image generation.
|
| 23 |
|
| 24 |
-
|
| 25 |
## Download model
|
| 26 |
|
| 27 |
Weights for this model are available in Safetensors format.
|
| 28 |
|
| 29 |
-
[Download](/prithivMLmods/CAnime-LoRA/tree/main) them in the Files & versions tab.
|
|
|
|
| 4 |
- lora
|
| 5 |
- diffusers
|
| 6 |
- template:diffusion-lora
|
| 7 |
+
- C-Anime
|
| 8 |
widget:
|
| 9 |
- text: '-'
|
| 10 |
output:
|
|
|
|
| 12 |
base_model: black-forest-labs/FLUX.1-dev
|
| 13 |
instance_prompt: CAnime
|
| 14 |
license: creativeml-openrail-m
|
| 15 |
+
library_name: transformers
|
| 16 |
---
|
| 17 |
# CAnime-LoRA
|
| 18 |
|
| 19 |
<Gallery />
|
| 20 |
|
| 21 |
+
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
| 22 |
+
|
| 23 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
**prithivMLmods/CAnime-LoRA**
|
| 28 |
+
Image Processing Parameters
|
| 29 |
+
|
| 30 |
+
| Parameter | Value | Parameter | Value |
|
| 31 |
+
|---------------------------|--------|---------------------------|--------|
|
| 32 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
| 33 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
| 34 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
| 35 |
+
| Network Alpha | 32 | Repeat & Steps | 21 & 2000|
|
| 36 |
+
| Epoch | 12 | Save Every N Epochs | 1 |
|
| 37 |
+
|
| 38 |
+
Labeling: florence2-en(natural language & English)
|
| 39 |
+
|
| 40 |
+
Total Images Used for Training : 13
|
| 41 |
+
|
| 42 |
+
## Best Dimensions
|
| 43 |
+
|
| 44 |
+
- 1024 x 1024 (Default)
|
| 45 |
+
|
| 46 |
+
## Setting Up
|
| 47 |
+
```
|
| 48 |
+
import torch
|
| 49 |
+
from pipelines import DiffusionPipeline
|
| 50 |
+
|
| 51 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
| 52 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
| 53 |
+
|
| 54 |
+
lora_repo = "prithivMLmods/CAnime-LoRA"
|
| 55 |
+
trigger_word = "CAnime"
|
| 56 |
+
pipe.load_lora_weights(lora_repo)
|
| 57 |
+
|
| 58 |
+
device = torch.device("cuda")
|
| 59 |
+
pipe.to(device)
|
| 60 |
+
```
|
| 61 |
|
| 62 |
## Trigger words
|
| 63 |
|
| 64 |
You should use `CAnime` to trigger the image generation.
|
| 65 |
|
|
|
|
| 66 |
## Download model
|
| 67 |
|
| 68 |
Weights for this model are available in Safetensors format.
|
| 69 |
|
| 70 |
+
[Download](/prithivMLmods/CAnime-LoRA/tree/main) them in the Files & versions tab.
|