set_captions
Writes or replaces caption text for dataset files by mapping each file name to its caption, keeping LoRA training datasets accurately labeled.
Instructions
Write captions. captions maps a file name (as shown by get_captions) to its caption text;
existing captions for those files are replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | Yes | ||
| captions | Yes | ||
| caption_ext | No | txt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |