Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Малахов Алексей Павлович committed Sep 25, 2024
1 parent d987868 commit 757b804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo_alignment/dataset/chat/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(
self._messages: list[ChatMessage] = []

if system_prompt and ignore_system_prompt:
raise ValueError('You can not ignore system_prompt and use system prompt in config simultaneoulsy')
raise ValueError('You can not ignore system_prompt and use system prompt in config simultaneously')

if system_prompt or ignore_system_prompt:
if messages[0].role == ChatMessageRole.SYSTEM:
Expand Down

0 comments on commit 757b804

Please sign in to comment.