prithivMLmods
commited on
Commit
•
b789cba
1
Parent(s):
d48a792
Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,46 @@ license: creativeml-openrail-m
|
|
44 |
|
45 |
<Gallery />
|
46 |
|
|
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
## Trigger words
|
49 |
|
50 |
You should use `meme` to trigger the image generation.
|
|
|
44 |
|
45 |
<Gallery />
|
46 |
|
47 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
48 |
|
49 |
+
## Model description
|
50 |
+
|
51 |
+
**prithivMLmods/F-Meme**
|
52 |
+
|
53 |
+
Image Processing Parameters
|
54 |
+
|
55 |
+
| Parameter | Value | Parameter | Value |
|
56 |
+
|---------------------------|--------|---------------------------|--------|
|
57 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
58 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
59 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
60 |
+
| Network Alpha | 32 | Repeat & Steps | 20 & 2200 |
|
61 |
+
| Epoch | 10 | Save Every N Epochs | 1 |
|
62 |
+
|
63 |
+
Labeling: florence2-en(natural language & English)
|
64 |
+
|
65 |
+
Total Images Used for Training : 10
|
66 |
+
|
67 |
+
## Best Dimensions
|
68 |
+
|
69 |
+
- 768 x 1024 (Best)
|
70 |
+
- 1024 x 1024 (Default)
|
71 |
+
|
72 |
+
## Setting Up
|
73 |
+
```python
|
74 |
+
import torch
|
75 |
+
from pipelines import DiffusionPipeline
|
76 |
+
|
77 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
78 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
79 |
+
|
80 |
+
lora_repo = "prithivMLmods/F-Meme"
|
81 |
+
trigger_word = "meme"
|
82 |
+
pipe.load_lora_weights(lora_repo)
|
83 |
+
|
84 |
+
device = torch.device("cuda")
|
85 |
+
pipe.to(device)
|
86 |
+
```
|
87 |
## Trigger words
|
88 |
|
89 |
You should use `meme` to trigger the image generation.
|