Skip to content

Commit

Permalink
fix for inference keep end
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeribal committed Nov 13, 2024
1 parent a042f07 commit 5c4c742
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions turbo_alignment/dataset/chat/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def _truncate_and_merge(
truncated_conversation_messages = [conversation.messages[0]] + truncated_conversation_messages
truncated_tokenized_replicas = [truncated_tokenized_replicas[0]] + truncated_tokenized_replicas


for ind, (message, tokenized_replica) in enumerate(
zip(
truncated_conversation_messages,
Expand Down

0 comments on commit 5c4c742

Please sign in to comment.