Tune ANIMA LoRA defaults for batch 4 showcase validation
Browse files- configs/ANIMA.knf.yaml +7 -3
configs/ANIMA.knf.yaml
CHANGED
|
@@ -201,6 +201,10 @@ training:
|
|
| 201 |
negative_control_species: wolf
|
| 202 |
exchanges:
|
| 203 |
- [erection, fully_sheathed]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
|
| 205 |
# Model and LoRA settings merged into the top-level SimpleTuner config.
|
| 206 |
model:
|
|
@@ -250,7 +254,7 @@ training:
|
|
| 250 |
hub_model_id: ladybird-anima-lora # Optional Hub model id if push_to_hub is enabled.
|
| 251 |
|
| 252 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 253 |
-
learning_rate: 0.
|
| 254 |
lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
|
| 255 |
lr_warmup_steps: 100
|
| 256 |
seed: 42 # Training seed.
|
|
@@ -258,7 +262,7 @@ training:
|
|
| 258 |
max_grad_norm: 1.0 # Clip gradients for stability.
|
| 259 |
grad_clip_method: norm # Clip by gradient norm.
|
| 260 |
|
| 261 |
-
train_batch_size:
|
| 262 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 263 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 264 |
max_train_steps: 1600 # Extended Anima character run with multi-subset curriculum.
|
|
@@ -269,7 +273,7 @@ training:
|
|
| 269 |
|
| 270 |
# push_to_hub: false # Upload final artifacts to Hugging Face Hub.
|
| 271 |
# push_checkpoints_to_hub: false # Upload intermediate checkpoints.
|
| 272 |
-
checkpoints_total_limit:
|
| 273 |
checkpoint_step_interval: 200 # Save checkpoint every 200 steps.
|
| 274 |
validation_step_interval: 200 # Run validation every 200 steps.
|
| 275 |
validation_on_startup: true # Render baseline validation before training.
|
|
|
|
| 201 |
negative_control_species: wolf
|
| 202 |
exchanges:
|
| 203 |
- [erection, fully_sheathed]
|
| 204 |
+
from_prompt_pack:
|
| 205 |
+
prompts: rook-kaefer
|
| 206 |
+
caption_styles: [nlg]
|
| 207 |
+
uses: [training_validation]
|
| 208 |
|
| 209 |
# Model and LoRA settings merged into the top-level SimpleTuner config.
|
| 210 |
model:
|
|
|
|
| 254 |
hub_model_id: ladybird-anima-lora # Optional Hub model id if push_to_hub is enabled.
|
| 255 |
|
| 256 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 257 |
+
learning_rate: 0.00008 #
|
| 258 |
lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
|
| 259 |
lr_warmup_steps: 100
|
| 260 |
seed: 42 # Training seed.
|
|
|
|
| 262 |
max_grad_norm: 1.0 # Clip gradients for stability.
|
| 263 |
grad_clip_method: norm # Clip by gradient norm.
|
| 264 |
|
| 265 |
+
train_batch_size: 4 # Per-device batch size.
|
| 266 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 267 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 268 |
max_train_steps: 1600 # Extended Anima character run with multi-subset curriculum.
|
|
|
|
| 273 |
|
| 274 |
# push_to_hub: false # Upload final artifacts to Hugging Face Hub.
|
| 275 |
# push_checkpoints_to_hub: false # Upload intermediate checkpoints.
|
| 276 |
+
checkpoints_total_limit: 4 # Keep latest 5 checkpoints.
|
| 277 |
checkpoint_step_interval: 200 # Save checkpoint every 200 steps.
|
| 278 |
validation_step_interval: 200 # Run validation every 200 steps.
|
| 279 |
validation_on_startup: true # Render baseline validation before training.
|