Instructions to use AdamSCohn/lilien-jugendstil-z-image-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- mflux
How to use AdamSCohn/lilien-jugendstil-z-image-turbo with mflux:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- MLX
How to use AdamSCohn/lilien-jugendstil-z-image-turbo with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download AdamSCohn/lilien-jugendstil-z-image-turbo --local-dir lilien-jugendstil-z-image-turbo
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Rewrite model card: Art Nouveau context, prompt technique, full calibration grids
Browse files- .gitattributes +8 -0
- README.md +93 -69
- samples/grids/composition_group_table__0__grid.png +3 -0
- samples/grids/jacob_wrestling__0__grid.png +3 -0
- samples/grids/ood_astronaut__0__grid.png +3 -0
- samples/grids/ornament_rosh_hashanah__0__grid.png +3 -0
- samples/grids/style_woman_reading__0__grid.png +3 -0
- samples/grids/tarot_magician__0__grid.png +3 -0
- samples/grids/vampire_fantasy__0__grid.png +3 -0
- samples/grids/vampire_fantasy__1__grid.png +3 -0
- upload.sh +10 -1
.gitattributes
CHANGED
|
@@ -44,3 +44,11 @@ samples/ornament_rosh_hashanah.png filter=lfs diff=lfs merge=lfs -text
|
|
| 44 |
samples/style_woman_reading.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
samples/tarot_magician.png filter=lfs diff=lfs merge=lfs -text
|
| 46 |
samples/vampire_fantasy.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
samples/style_woman_reading.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
samples/tarot_magician.png filter=lfs diff=lfs merge=lfs -text
|
| 46 |
samples/vampire_fantasy.png filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
samples/grids/composition_group_table__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
samples/grids/jacob_wrestling__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
samples/grids/ood_astronaut__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
samples/grids/ornament_rosh_hashanah__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
samples/grids/style_woman_reading__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
samples/grids/tarot_magician__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
samples/grids/vampire_fantasy__0__grid.png filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
samples/grids/vampire_fantasy__1__grid.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -10,6 +10,7 @@ tags:
|
|
| 10 |
- art
|
| 11 |
- illustration
|
| 12 |
- jugendstil
|
|
|
|
| 13 |
- pen-and-ink
|
| 14 |
pipeline_tag: text-to-image
|
| 15 |
library_name: mflux
|
|
@@ -17,10 +18,42 @@ library_name: mflux
|
|
| 17 |
|
| 18 |
# Lilien Jugendstil — Z-Image-Turbo LoRA (MLX)
|
| 19 |
|
| 20 |
-
A style LoRA for [Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) trained with [mflux](https://github.com/filipstrand/mflux) on Apple Silicon (MLX).
|
| 21 |
|
| 22 |
**Training pipeline (open source):** [github.com/adamscohn2646/mlx-local-lora-create](https://github.com/adamscohn2646/mlx-local-lora-create)
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## Model files
|
| 25 |
|
| 26 |
| File | Description |
|
|
@@ -29,8 +62,6 @@ A style LoRA for [Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo
|
|
| 29 |
|
| 30 |
## Trigger phrase
|
| 31 |
|
| 32 |
-
Include this at the start of your prompt:
|
| 33 |
-
|
| 34 |
```
|
| 35 |
art by Ephraim Moshe Lilien, Jugendstil illustration,
|
| 36 |
```
|
|
@@ -40,7 +71,7 @@ art by Ephraim Moshe Lilien, Jugendstil illustration,
|
|
| 40 |
| Parameter | Value |
|
| 41 |
|-----------|-------|
|
| 42 |
| Base model | `filipstrand/Z-Image-Turbo-mflux-4bit` |
|
| 43 |
-
| LoRA scale | **0.
|
| 44 |
| Resolution | 1024 × 1024 |
|
| 45 |
| Steps | 9 |
|
| 46 |
| Guidance | 0.0 |
|
|
@@ -55,25 +86,11 @@ mflux-generate-z-image-turbo \
|
|
| 55 |
--model filipstrand/Z-Image-Turbo-mflux-4bit \
|
| 56 |
--lora-paths AdamSCohn/lilien-jugendstil-z-image-turbo \
|
| 57 |
--lora-scales 1.0 \
|
| 58 |
-
--prompt "art by Ephraim Moshe Lilien, Jugendstil illustration,
|
| 59 |
-
--width 1024 \
|
| 60 |
-
--height 1024 \
|
| 61 |
-
--steps 9 \
|
| 62 |
-
--seed 42 \
|
| 63 |
--output lilien_sample.png
|
| 64 |
```
|
| 65 |
|
| 66 |
-
Local file instead of Hub path:
|
| 67 |
-
|
| 68 |
-
```bash
|
| 69 |
-
mflux-generate-z-image-turbo \
|
| 70 |
-
--model filipstrand/Z-Image-Turbo-mflux-4bit \
|
| 71 |
-
--lora-paths /path/to/lilien_z_image_turbo_v1.safetensors \
|
| 72 |
-
--lora-scales 1.0 \
|
| 73 |
-
--prompt "art by Ephraim Moshe Lilien, Jugendstil illustration, ..." \
|
| 74 |
-
--width 1024 --height 1024 --steps 9
|
| 75 |
-
```
|
| 76 |
-
|
| 77 |
## Usage (Python API)
|
| 78 |
|
| 79 |
```python
|
|
@@ -100,52 +117,92 @@ image = model.generate_image(
|
|
| 100 |
image.save("lilien_sample.png")
|
| 101 |
```
|
| 102 |
|
| 103 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
|
| 105 |
-
|
| 106 |
|
| 107 |
-
|
| 108 |
|
| 109 |
```
|
| 110 |
art by Ephraim Moshe Lilien, Jugendstil illustration, a young woman seated by a window reading a book, black ink on cream paper, Jugendstil ornamental border
|
| 111 |
```
|
| 112 |
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
```
|
| 116 |
art by Ephraim Moshe Lilien, Jugendstil illustration, A man in long robes with a detailed pattern wrestling, arms length, a winged figure at night beside a flowing river. Palm trees in background, locked arms at the shoulder, winged figure is trying to escape, the man holds on, black ink on cream paper, Jugendstil ornamental border
|
| 117 |
```
|
| 118 |
|
| 119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
```
|
| 122 |
art by Ephraim Moshe Lilien, Jugendstil illustration, A man in a robe standing behind a table, his arm raising a rough hewn wand, held in his fist in a majestic gesture. On the table are are a plate wth a star of david inscribed on it, an ornate cup and a ceremonial knife, black ink on cream paper, Jugendstil ornamental border
|
| 123 |
```
|
| 124 |
|
| 125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
```
|
| 128 |
art by Ephraim Moshe Lilien, Jugendstil illustration, Ornamental border for a Jewish greeting card integrating Jewish symbols such as a star of david, black ink on cream paper, Jugendstil ornamental border
|
| 129 |
```
|
| 130 |
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
```
|
| 134 |
art by Ephraim Moshe Lilien, Jugendstil illustration, an astronaut standing on the moon, full figure, stark silhouette, black ink on cream paper, Jugendstil ornamental border
|
| 135 |
```
|
| 136 |
|
| 137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
```
|
| 140 |
art by Ephraim Moshe Lilien, Jugendstil illustration, four figures seated around a table in animated discussion, black ink on cream paper, Jugendstil ornamental border
|
| 141 |
```
|
| 142 |
|
| 143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
```
|
| 146 |
art by Ephraim Moshe Lilien, Jugendstil illustration, a gaunt vampire leaning over a craftsman at a work table, heavy ink shadows, black ink on cream paper, Jugendstil ornamental border
|
| 147 |
```
|
| 148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
## Training summary
|
| 150 |
|
| 151 |
| Field | Value |
|
|
@@ -157,56 +214,23 @@ art by Ephraim Moshe Lilien, Jugendstil illustration, a gaunt vampire leaning ov
|
|
| 157 |
| Optimizer | AdamW, lr 1e-4, batch size 1 |
|
| 158 |
| Steps | 2009 (41 epochs × 49 images) |
|
| 159 |
| Resolution | 1024 |
|
| 160 |
-
| Training adapter | `ostris/zimage_turbo_training_adapter` (auto-loaded by mflux for turbo) |
|
| 161 |
-
| Hardware | Apple Silicon, ≥48 GB unified memory |
|
| 162 |
-
| Wall time | ~13h 55m |
|
| 163 |
| Trained | 2026-05-26 |
|
| 164 |
| mflux version | 0.17.5 |
|
| 165 |
|
| 166 |
-
Full run card: [training card in GitHub repo](https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/docs/training-cards/lilien_z_image_turbo_v1.md)
|
| 167 |
-
|
| 168 |
-
## What this LoRA is good at
|
| 169 |
-
|
| 170 |
-
- Pen-and-ink illustration on textured cream paper
|
| 171 |
-
- Jugendstil / Art Nouveau line weight and ornament
|
| 172 |
-
- Figurative scenes, Jewish iconography, decorative borders
|
| 173 |
-
- Black-and-white ink aesthetics with cross-hatching and stippling
|
| 174 |
-
|
| 175 |
## Limitations
|
| 176 |
|
| 177 |
-
- **Style transfer, not subject memorization** —
|
| 178 |
-
- **
|
| 179 |
-
- **
|
| 180 |
-
-
|
| 181 |
|
| 182 |
## Training data & copyright
|
| 183 |
|
| 184 |
-
Trained on ~49 illustrations in the style of Ephraim Moshe Lilien (d. 1925). Source images and captions are **not** distributed
|
| 185 |
-
|
| 186 |
-
## Gallery
|
| 187 |
-
|
| 188 |
-
Calibration harness run (`lora_test`, mode `calibration`), **LoRA strength 1.0**, seed **42**, 1024×1024, 9 steps. Not original training scans.
|
| 189 |
-
|
| 190 |
-
| | |
|
| 191 |
-
|---|---|
|
| 192 |
-
|  |  |
|
| 193 |
-
| `style_woman_reading__0` | `jacob_wrestling__0` |
|
| 194 |
-
|  |  |
|
| 195 |
-
| `tarot_magician__0` | `ornament_rosh_hashanah__0` |
|
| 196 |
-
|  |  |
|
| 197 |
-
| `ood_astronaut__0` | `vampire_fantasy__0` |
|
| 198 |
-
|  | |
|
| 199 |
-
| `composition_group_table__0` | |
|
| 200 |
-
|
| 201 |
-
**Strength sweep** (base → 0.6 → 0.8 → 1.0 → 1.2):
|
| 202 |
-
|
| 203 |
-

|
| 204 |
-
|
| 205 |
-

|
| 206 |
|
| 207 |
-
##
|
| 208 |
|
| 209 |
- **Pipeline repo:** https://github.com/adamscohn2646/mlx-local-lora-create
|
| 210 |
- **Test prompts:** https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/config/prompts/lilien_prompts.yaml
|
| 211 |
-
- **Base model
|
| 212 |
- **mflux:** https://github.com/filipstrand/mflux
|
|
|
|
| 10 |
- art
|
| 11 |
- illustration
|
| 12 |
- jugendstil
|
| 13 |
+
- art-nouveau
|
| 14 |
- pen-and-ink
|
| 15 |
pipeline_tag: text-to-image
|
| 16 |
library_name: mflux
|
|
|
|
| 18 |
|
| 19 |
# Lilien Jugendstil — Z-Image-Turbo LoRA (MLX)
|
| 20 |
|
| 21 |
+
A style LoRA for [Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) trained with [mflux](https://github.com/filipstrand/mflux) on Apple Silicon (MLX).
|
| 22 |
|
| 23 |
**Training pipeline (open source):** [github.com/adamscohn2646/mlx-local-lora-create](https://github.com/adamscohn2646/mlx-local-lora-create)
|
| 24 |
|
| 25 |
+
## Art style
|
| 26 |
+
|
| 27 |
+
This LoRA captures the pen-and-ink illustration work of **Ephraim Moshe Lilien** (1874–1925), a central figure of **Jugendstil** — the German branch of **Art Nouveau**. Expect:
|
| 28 |
+
|
| 29 |
+
- Black ink on textured cream paper, visible grain
|
| 30 |
+
- Flowing ornamental borders and Jugendstil / Art Nouveau line rhythm
|
| 31 |
+
- Varying line weights, cross-hatching, and stippling for shade
|
| 32 |
+
- Figurative scenes, symbolic composition, and decorative plate design
|
| 33 |
+
|
| 34 |
+
The adapter learns **how** Lilien draws, not a fixed catalog of subjects. You describe the scene; the LoRA steers rendering toward his graphic language.
|
| 35 |
+
|
| 36 |
+
## How to prompt
|
| 37 |
+
|
| 38 |
+
**Two-step mental model:**
|
| 39 |
+
|
| 40 |
+
1. **Semantic space first** — write a prompt that describes the subject, composition, and action clearly enough for the base model (Z-Image-Turbo) to parse. Think in terms of scene layout, figure count, props, and mood.
|
| 41 |
+
2. **Style second** — lead with the trigger phrase and keep the medium clause (`black ink on cream paper, Jugendstil ornamental border`). The LoRA then applies Lilien’s line treatment on top of that scene.
|
| 42 |
+
|
| 43 |
+
The trigger phrase anchors style; the body of the prompt anchors *what* is happening. If the scene description is vague or fights the composition, the LoRA cannot fully compensate.
|
| 44 |
+
|
| 45 |
+
### LoRA strength
|
| 46 |
+
|
| 47 |
+
Calibration grids below sweep **base → 0.6 → 0.8 → 1.0 → 1.2** (left to right).
|
| 48 |
+
|
| 49 |
+
| Scene type | Suggested strength | Why |
|
| 50 |
+
|------------|-------------------|-----|
|
| 51 |
+
| **Single figure**, portrait, ornament, heavy ink | **0.8 – 1.0** | Strongest Lilien line weight and border treatment |
|
| 52 |
+
| **Two or more figures interacting** (wrestling, group scenes, vampire over craftsman) | **~0.6** | At 1.0+ the style layer can overwhelm pose and spatial relationships; figures merge or confuse |
|
| 53 |
+
| **Out-of-distribution subjects** (astronaut, modern objects) | **0.6 – 0.8** | Style transfers cleanly; very high strength can over-ornament |
|
| 54 |
+
|
| 55 |
+
Expect to tweak prompts and strength together — especially for multi-actor scenes.
|
| 56 |
+
|
| 57 |
## Model files
|
| 58 |
|
| 59 |
| File | Description |
|
|
|
|
| 62 |
|
| 63 |
## Trigger phrase
|
| 64 |
|
|
|
|
|
|
|
| 65 |
```
|
| 66 |
art by Ephraim Moshe Lilien, Jugendstil illustration,
|
| 67 |
```
|
|
|
|
| 71 |
| Parameter | Value |
|
| 72 |
|-----------|-------|
|
| 73 |
| Base model | `filipstrand/Z-Image-Turbo-mflux-4bit` |
|
| 74 |
+
| LoRA scale | **0.6** (multi-figure) · **1.0** (single-figure / heavy style) |
|
| 75 |
| Resolution | 1024 × 1024 |
|
| 76 |
| Steps | 9 |
|
| 77 |
| Guidance | 0.0 |
|
|
|
|
| 86 |
--model filipstrand/Z-Image-Turbo-mflux-4bit \
|
| 87 |
--lora-paths AdamSCohn/lilien-jugendstil-z-image-turbo \
|
| 88 |
--lora-scales 1.0 \
|
| 89 |
+
--prompt "art by Ephraim Moshe Lilien, Jugendstil illustration, a young woman seated by a window reading a book, black ink on cream paper, Jugendstil ornamental border" \
|
| 90 |
+
--width 1024 --height 1024 --steps 9 --seed 42 \
|
|
|
|
|
|
|
|
|
|
| 91 |
--output lilien_sample.png
|
| 92 |
```
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
## Usage (Python API)
|
| 95 |
|
| 96 |
```python
|
|
|
|
| 117 |
image.save("lilien_sample.png")
|
| 118 |
```
|
| 119 |
|
| 120 |
+
## Calibration gallery
|
| 121 |
+
|
| 122 |
+
All images from the **2026-06-04 calibration run** (`lora_test`, mode `calibration`). Each row is a strength sweep: **base model → LoRA 0.6 → 0.8 → 1.0 → 1.2**. Seed **42**, 1024×1024, 9 steps. Prompts match [`config/prompts/lilien_prompts.yaml`](https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/config/prompts/lilien_prompts.yaml).
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
|
| 126 |
+
### `style_woman_reading__0` · style_generic · *single figure — try 1.0*
|
| 127 |
|
| 128 |
+

|
| 129 |
|
| 130 |
```
|
| 131 |
art by Ephraim Moshe Lilien, Jugendstil illustration, a young woman seated by a window reading a book, black ink on cream paper, Jugendstil ornamental border
|
| 132 |
```
|
| 133 |
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
### `jacob_wrestling__0` · jewish_iconography · *two figures interacting — try ~0.6*
|
| 137 |
+
|
| 138 |
+

|
| 139 |
|
| 140 |
```
|
| 141 |
art by Ephraim Moshe Lilien, Jugendstil illustration, A man in long robes with a detailed pattern wrestling, arms length, a winged figure at night beside a flowing river. Palm trees in background, locked arms at the shoulder, winged figure is trying to escape, the man holds on, black ink on cream paper, Jugendstil ornamental border
|
| 142 |
```
|
| 143 |
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
### `tarot_magician__0` · tarot · *single figure — try 1.0*
|
| 147 |
+
|
| 148 |
+

|
| 149 |
|
| 150 |
```
|
| 151 |
art by Ephraim Moshe Lilien, Jugendstil illustration, A man in a robe standing behind a table, his arm raising a rough hewn wand, held in his fist in a majestic gesture. On the table are are a plate wth a star of david inscribed on it, an ornate cup and a ceremonial knife, black ink on cream paper, Jugendstil ornamental border
|
| 152 |
```
|
| 153 |
|
| 154 |
+
---
|
| 155 |
+
|
| 156 |
+
### `ornament_rosh_hashanah__0` · ornament · *single figure — try 1.0*
|
| 157 |
+
|
| 158 |
+

|
| 159 |
|
| 160 |
```
|
| 161 |
art by Ephraim Moshe Lilien, Jugendstil illustration, Ornamental border for a Jewish greeting card integrating Jewish symbols such as a star of david, black ink on cream paper, Jugendstil ornamental border
|
| 162 |
```
|
| 163 |
|
| 164 |
+
---
|
| 165 |
+
|
| 166 |
+
### `ood_astronaut__0` · out_of_distribution · *single figure — try 0.6–0.8*
|
| 167 |
+
|
| 168 |
+

|
| 169 |
|
| 170 |
```
|
| 171 |
art by Ephraim Moshe Lilien, Jugendstil illustration, an astronaut standing on the moon, full figure, stark silhouette, black ink on cream paper, Jugendstil ornamental border
|
| 172 |
```
|
| 173 |
|
| 174 |
+
---
|
| 175 |
+
|
| 176 |
+
### `composition_group_table__0` · composition · *four figures — try ~0.6*
|
| 177 |
+
|
| 178 |
+

|
| 179 |
|
| 180 |
```
|
| 181 |
art by Ephraim Moshe Lilien, Jugendstil illustration, four figures seated around a table in animated discussion, black ink on cream paper, Jugendstil ornamental border
|
| 182 |
```
|
| 183 |
|
| 184 |
+
---
|
| 185 |
+
|
| 186 |
+
### `vampire_fantasy__0` · fantasy_mythic · *two figures interacting — try ~0.6*
|
| 187 |
+
|
| 188 |
+

|
| 189 |
|
| 190 |
```
|
| 191 |
art by Ephraim Moshe Lilien, Jugendstil illustration, a gaunt vampire leaning over a craftsman at a work table, heavy ink shadows, black ink on cream paper, Jugendstil ornamental border
|
| 192 |
```
|
| 193 |
|
| 194 |
+
---
|
| 195 |
+
|
| 196 |
+
### `vampire_fantasy__1` · fantasy_mythic · *single figure — try 1.0*
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
|
| 200 |
+
```
|
| 201 |
+
art by Ephraim Moshe Lilien, Jugendstil illustration, a pale elongated figure with long neck in a cramped interior, hunched posture, black ink on cream paper, Jugendstil ornamental border
|
| 202 |
+
```
|
| 203 |
+
|
| 204 |
+
---
|
| 205 |
+
|
| 206 |
## Training summary
|
| 207 |
|
| 208 |
| Field | Value |
|
|
|
|
| 214 |
| Optimizer | AdamW, lr 1e-4, batch size 1 |
|
| 215 |
| Steps | 2009 (41 epochs × 49 images) |
|
| 216 |
| Resolution | 1024 |
|
|
|
|
|
|
|
|
|
|
| 217 |
| Trained | 2026-05-26 |
|
| 218 |
| mflux version | 0.17.5 |
|
| 219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
## Limitations
|
| 221 |
|
| 222 |
+
- **Style transfer, not subject memorization** — describe the scene; the LoRA applies graphic treatment.
|
| 223 |
+
- **Multi-actor scenes** — at high strength the adapter can confuse interacting figures; lower strength and explicit pose language help.
|
| 224 |
+
- **MLX / Apple Silicon only** — trained and tested with mflux; Diffusers / CUDA untested.
|
| 225 |
+
- **Training data not included** — source scans are not published.
|
| 226 |
|
| 227 |
## Training data & copyright
|
| 228 |
|
| 229 |
+
Trained on ~49 illustrations in the style of Ephraim Moshe Lilien (d. 1925). Source images and captions are **not** distributed. Weights: [MIT License](https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/LICENSE). Respect the [Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) license and applicable law.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
|
| 231 |
+
## Links
|
| 232 |
|
| 233 |
- **Pipeline repo:** https://github.com/adamscohn2646/mlx-local-lora-create
|
| 234 |
- **Test prompts:** https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/config/prompts/lilien_prompts.yaml
|
| 235 |
+
- **Base model:** https://huggingface.co/filipstrand/Z-Image-Turbo-mflux-4bit
|
| 236 |
- **mflux:** https://github.com/filipstrand/mflux
|
samples/grids/composition_group_table__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/jacob_wrestling__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/ood_astronaut__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/ornament_rosh_hashanah__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/style_woman_reading__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/tarot_magician__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/vampire_fantasy__0__grid.png
ADDED
|
Git LFS Details
|
samples/grids/vampire_fantasy__1__grid.png
ADDED
|
Git LFS Details
|
upload.sh
CHANGED
|
@@ -6,9 +6,18 @@ STAGE="/Users/adamcohn/hf-lilien-lora"
|
|
| 6 |
HF="$REPO_ROOT/.venv/bin/hf"
|
| 7 |
|
| 8 |
cp "$REPO_ROOT/docs/huggingface/lilien-jugendstil-z-image-turbo/README.md" "$STAGE/README.md"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
"$HF" repos create lilien-jugendstil-z-image-turbo --type model 2>/dev/null || true
|
| 11 |
"$HF" upload AdamSCohn/lilien-jugendstil-z-image-turbo "$STAGE" . \
|
| 12 |
-
--commit-message "
|
| 13 |
|
| 14 |
echo "Done: https://huggingface.co/AdamSCohn/lilien-jugendstil-z-image-turbo"
|
|
|
|
| 6 |
HF="$REPO_ROOT/.venv/bin/hf"
|
| 7 |
|
| 8 |
cp "$REPO_ROOT/docs/huggingface/lilien-jugendstil-z-image-turbo/README.md" "$STAGE/README.md"
|
| 9 |
+
cp ~/loras/lilien_z_image_turbo_v1/lilien_z_image_turbo_v1.safetensors "$STAGE/" 2>/dev/null || true
|
| 10 |
+
|
| 11 |
+
# All calibration grids from latest test run
|
| 12 |
+
RUN=$(ls -td "$REPO_ROOT"/test_runs/lilien_z_image_turbo_v1__calibration__* 2>/dev/null | head -1)
|
| 13 |
+
if [[ -n "$RUN" && -d "$RUN/grids" ]]; then
|
| 14 |
+
rm -rf "$STAGE/samples"
|
| 15 |
+
mkdir -p "$STAGE/samples/grids"
|
| 16 |
+
cp "$RUN/grids/"*.png "$STAGE/samples/grids/"
|
| 17 |
+
fi
|
| 18 |
|
| 19 |
"$HF" repos create lilien-jugendstil-z-image-turbo --type model 2>/dev/null || true
|
| 20 |
"$HF" upload AdamSCohn/lilien-jugendstil-z-image-turbo "$STAGE" . \
|
| 21 |
+
--commit-message "Update Lilien LoRA model card and calibration grids"
|
| 22 |
|
| 23 |
echo "Done: https://huggingface.co/AdamSCohn/lilien-jugendstil-z-image-turbo"
|