Skip to content

Commit

Permalink
[ci] fix phi3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
huyiwen committed Jun 22, 2024
1 parent 9aa2990 commit d5daabc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/utilization/model/test_apply_prompt_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ def test_phi3(conversation: Conversation):
formatted_conversation = conversation.apply_prompt_template()
assert formatted_conversation == (

Check failure on line 58 in tests/utilization/model/test_apply_prompt_template.py

View workflow job for this annotation

GitHub Actions / subtest (2)

test_phi3 AssertionError: assert '<s> <|system...ge. <|end|>\n' == '<s><|system|...ge. <|end|>\n' - <s><|system|> + <s> <|system|> ? + This is a system message. <|end|> <|user|> This is a user message. <|end|> <|assistant|> This is an assistant message. <|end|> <|user|> This is the second user message. <|end|> <|assistant|> This is the second assistant message. <|end|>
"<s><|system|>\n"
"This is a system message.<|end|>\n"
"This is a system message. <|end|>\n"
"<|user|>\n"
"This is a user message.<|end|>\n"
"This is a user message. <|end|>\n"
"<|assistant|>\n"
"This is an assistant message.<|end|>\n"
"This is an assistant message. <|end|>\n"
"<|user|>\n"
"This is the second user message.<|end|>\n"
"This is the second user message. <|end|>\n"
"<|assistant|>\n"
"This is the second assistant message.<|end|>\n"
"This is the second assistant message. <|end|>\n"
)


Expand Down

0 comments on commit d5daabc

Please sign in to comment.