update prompts for open orca to match the paper (#317)

fix the test for the updated system tokenizer
This commit is contained in:
Wing Lian
2023-07-22 13:49:11 -04:00
committed by GitHub
parent ff7f18d1ed
commit 3d4984b9a5
3 changed files with 26 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ class AlpacaPrompterTest(unittest.TestCase):
)
)
assert "use cot" in res
assert res.startswith("use cot")
assert res.startswith("### System:")
assert "### Instruction:" not in res
assert "### Input:" not in res
assert "alpacas" in res