AdamSCohn commited on
Commit
9da1559
·
verified ·
1 Parent(s): ebe03ff

Rewrite model card: Art Nouveau context, prompt technique, full calibration grids

Browse files
.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). Generates pen-and-ink Jugendstil illustrations in the tradition of **Ephraim Moshe Lilien** (1874–1925).
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.8–1.0** (calibration sweeps 0.6–1.2; 1.0 is the reference strength) |
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, 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" \
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
- ## Example prompts
 
 
 
 
104
 
105
- These match the **calibration subset** in [`config/prompts/lilien_prompts.yaml`](https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/config/prompts/lilien_prompts.yaml) (compiled from `lilien_themes.yaml`). Gallery images below were generated from this same set.
106
 
107
- **style_generic — `style_woman_reading__0`**
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
- **jewish_iconography — `jacob_wrestling__0`**
 
 
 
 
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
- **tarot — `tarot_magician__0`**
 
 
 
 
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
- **ornament — `ornament_rosh_hashanah__0`**
 
 
 
 
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
- **out_of_distribution — `ood_astronaut__0`**
 
 
 
 
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
- **composition — `composition_group_table__0`**
 
 
 
 
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
- **fantasy_mythic — `vampire_fantasy__0`**
 
 
 
 
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** — works best when the trigger phrase leads the prompt; arbitrary subjects may look stylized but not historically specific.
178
- - **MLX / Apple Silicon only** — this adapter was trained and tested with mflux; Diffusers / CUDA workflows are untested.
179
- - **Training data not included** — source scans are not published with this release.
180
- - Strengths above **1.0** can over-saturate line weight or ornament; calibrate with your prompts.
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 with this model. The adapter weights are published under the [MIT License](https://github.com/adamscohn2646/mlx-local-lora-create/blob/main/LICENSE). Respect the base model license ([Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo)) and applicable law when generating and sharing outputs.
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
- | ![style_woman_reading](samples/style_woman_reading.png) | ![jacob_wrestling](samples/jacob_wrestling.png) |
193
- | `style_woman_reading__0` | `jacob_wrestling__0` |
194
- | ![tarot_magician](samples/tarot_magician.png) | ![ornament_rosh_hashanah](samples/ornament_rosh_hashanah.png) |
195
- | `tarot_magician__0` | `ornament_rosh_hashanah__0` |
196
- | ![ood_astronaut](samples/ood_astronaut.png) | ![vampire_fantasy](samples/vampire_fantasy.png) |
197
- | `ood_astronaut__0` | `vampire_fantasy__0` |
198
- | ![composition_group_table](samples/composition_group_table.png) | |
199
- | `composition_group_table__0` | |
200
-
201
- **Strength sweep** (base → 0.6 → 0.8 → 1.0 → 1.2):
202
-
203
- ![Jacob wrestling strength sweep](samples/grids/jacob_wrestling_strength_sweep.png)
204
-
205
- ![Woman reading strength sweep](samples/grids/style_woman_reading_strength_sweep.png)
206
 
207
- ## Citation / links
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 (mflux 4-bit):** https://huggingface.co/filipstrand/Z-Image-Turbo-mflux-4bit
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
+ ![style_woman_reading strength sweep](samples/grids/style_woman_reading__0__grid.png)
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
+ ![jacob_wrestling strength sweep](samples/grids/jacob_wrestling__0__grid.png)
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
+ ![tarot_magician strength sweep](samples/grids/tarot_magician__0__grid.png)
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
+ ![ornament_rosh_hashanah strength sweep](samples/grids/ornament_rosh_hashanah__0__grid.png)
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
+ ![ood_astronaut strength sweep](samples/grids/ood_astronaut__0__grid.png)
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
+ ![composition_group_table strength sweep](samples/grids/composition_group_table__0__grid.png)
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
+ ![vampire_fantasy__0 strength sweep](samples/grids/vampire_fantasy__0__grid.png)
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
+ ![vampire_fantasy__1 strength sweep](samples/grids/vampire_fantasy__1__grid.png)
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

  • SHA256: 3f9860e3407b93b227be06b9d435789b6b30de7200e98b2d26ff6db174321fd8
  • Pointer size: 131 Bytes
  • Size of remote file: 733 kB
samples/grids/jacob_wrestling__0__grid.png ADDED

Git LFS Details

  • SHA256: ef8da1afcb4ca2bbee3d0ac17cfb48e944226b82ae46daa07c71f1d1ed7cad84
  • Pointer size: 131 Bytes
  • Size of remote file: 732 kB
samples/grids/ood_astronaut__0__grid.png ADDED

Git LFS Details

  • SHA256: 09cb2ee61ebe9fa37befecd9075075836f375f519ab7d3a5dc0bdd8afc3f224c
  • Pointer size: 131 Bytes
  • Size of remote file: 528 kB
samples/grids/ornament_rosh_hashanah__0__grid.png ADDED

Git LFS Details

  • SHA256: bbd42dd6046714ae24ef72dfa1355ffc39aaaf7fb2aed029188c34c358a4fd96
  • Pointer size: 131 Bytes
  • Size of remote file: 553 kB
samples/grids/style_woman_reading__0__grid.png ADDED

Git LFS Details

  • SHA256: a77a59da2d4499be30845156d7b11991bfc69d0fa1abd3ae495f35296cfc8d81
  • Pointer size: 131 Bytes
  • Size of remote file: 665 kB
samples/grids/tarot_magician__0__grid.png ADDED

Git LFS Details

  • SHA256: 4a14c564a0a616bbac93ee909628c7bc66f9bf1abfce43bd460ffcaaa14727a0
  • Pointer size: 131 Bytes
  • Size of remote file: 609 kB
samples/grids/vampire_fantasy__0__grid.png ADDED

Git LFS Details

  • SHA256: 3385a86e933962d6cfa9899c558d3040a77e252b18d43e5c430226880f17e738
  • Pointer size: 131 Bytes
  • Size of remote file: 567 kB
samples/grids/vampire_fantasy__1__grid.png ADDED

Git LFS Details

  • SHA256: d93ecdd649563160a461471149b23c090a3c3475325820dcf10f6707536c5de4
  • Pointer size: 131 Bytes
  • Size of remote file: 575 kB
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 "Release lilien_z_image_turbo_v1 LoRA (Z-Image-Turbo, mflux/MLX)"
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"