Move characters/instruction-following to instruction-templates

This commit is contained in:
oobabooga 2023-08-06 17:50:07 -07:00
parent 65aa11890f
commit c237ce607e
59 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ def load_prompt(fname):
return ''
elif fname.startswith('Instruct-'):
fname = re.sub('^Instruct-', '', fname)
file_path = Path(f'characters/instruction-following/{fname}.yaml')
file_path = Path(f'instruction-templates/{fname}.yaml')
if not file_path.exists():
return ''