Former-commit-id: 2f939b708f
This commit is contained in:
hiyouga
2024-09-05 22:27:48 +08:00
parent 3aa6a3e45b
commit 5585713182
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"