Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Jun 13, 2024
1 parent a8adcba commit 76c00d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llmfoundry/data/finetuning/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ def __init__(

# How to process a sample
def __getitem__(self, idx: int) -> Dict[str, Any]:
print('Idx:', idx)
sample = super().__getitem__(idx)
if 'turns' in sample:
# Already tokenized in latest format
Expand Down

0 comments on commit 76c00d7

Please sign in to comment.