• pdoane's avatar
    Fix issue in maybe_convert_prompt (#3188) · 0d196f9f
    pdoane authored
    When the token used for textual inversion does not have any special symbols (e.g. it is not surrounded by <>), the tokenizer does not properly split the replacement tokens.  Adding a space for the padding tokens fixes this.
    0d196f9f
loaders.py 62.2 KB