keep_tokens? #794
Replies: 1 comment
-
The number of tokens in your captions to not drop or shuffle. Does nothing if you don't activate shuffle_caption or caption_tag_dropout_rate. Examples: You might want to set keep_tokens to 2 so that the activation keyword and the class identifier('dog') do not get shuffled or dropped during training. As to why you might want to activate shuffling and dropping of keywords, it's supposed to train flexibility into the model/LoRA. |
Beta Was this translation helpful? Give feedback.
-
can anyone tell me what keep_tokens does exactly?
Beta Was this translation helpful? Give feedback.
All reactions