{% from 'partials/hero_cta.html' import hero_cta %}
{% call hero_cta( theme='indigo', icon_class='fa-layer-group', icon_shape='rounded', title='Training Environments', description='The welcome wizard helped you create your first environment. This page lets you manage all your environments, dataloaders, prompt libraries, and caption filters.', features=[ {'icon': 'fa-cog', 'color': 'text-primary', 'label': 'Model Configs'}, {'icon': 'fa-database', 'color': 'text-success', 'label': 'Dataloaders'}, {'icon': 'fa-book', 'color': 'text-warning', 'label': 'Prompt Libraries'}, {'icon': 'fa-filter', 'color': 'text-info', 'label': 'Caption Filters'}, ], show_condition='showHeroCTA()', dismiss_method='dismissHeroCTA()', cta_primary={'label': 'Dismiss', 'icon': 'fa-check', 'action': 'dismissHeroCTA()'}, tip_text='The Default environment provides base settings inherited by other environments when "Merge defaults" is enabled.' ) %}
Model Configurations

Define which base model to fine-tune (SDXL, Flux, SD3, etc.), training parameters like learning rate and batch size, LoRA/LyCORIS settings, and optimizer configurations.

Dataloader Configs

Configure your training datasets, including image paths, caption handling, bucketing strategies, and preprocessing options. Each environment can have its own dataloader.

Prompt Libraries

Create reusable collections of prompts for validation during training. Libraries can be shared across environments and used for consistent quality checks.

Caption Filters

Define text processing rules for captions - remove unwanted phrases, replace terms, or apply regex patterns. Filters are applied during dataloader preprocessing.

{% endcall %}