Skip to content

Commit

Permalink
linters fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a.khokhulin committed Nov 23, 2024
1 parent a8d8f10 commit 6d0e565
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions turbo_alignment/dataset/chat/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,7 @@ def get_slice(self, start: int, end: int) -> Self:

new_instance.records = self.records[start:end]
new_instance.original_records_map = {
record['id']: self.get_original_record_by_id(record['id'])
for record in dataset_records
record['id']: self.get_original_record_by_id(record['id']) for record in dataset_records
}

return new_instance

0 comments on commit 6d0e565

Please sign in to comment.