Former-commit-id: cf0758b03e9b8b4931ba790a9726b8256ee4286c
This commit is contained in:
hiyouga
2024-09-05 22:27:48 +08:00
parent 9bdba2f6a8
commit b48b47d519
4 changed files with 9 additions and 8 deletions

View File

@@ -158,7 +158,7 @@ def test_qwen_template():
_check_template("Qwen/Qwen2-7B-Instruct", "qwen", prompt_str, answer_str, extra_str="\n")
@pytest.mark.skip(reason="The fast tokenizer of Yi model is corrupted.")
@pytest.mark.xfail(reason="The fast tokenizer of Yi model is corrupted.")
def test_yi_template():
prompt_str = (
"<|im_start|>user\nHow are you<|im_end|>\n"