e4t-diffusion icon indicating copy to clipboard operation
e4t-diffusion copied to clipboard

{placeholder_token} vs *s in inference

Open bsun0802 opened this issue 2 years ago • 1 comments

In the fine tune code, there is an assert hard code the special token as {placeholder_tokne}.

            "{placeholder_token}" in args.prompt_template
        ), "You must specify the location of placeholder token by '{placeholder_token}'"

what is the logic we use {placeholder_token} in fine-tuning, but *s in pre-train and inference

bsun0802 avatar Oct 20 '23 00:10 bsun0802

{placeholder_token} will be replace with *s when domain-duning process

wangyePHD avatar Oct 24 '23 14:10 wangyePHD