Skip to content

Commit

Permalink
Restore file
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbenayoun committed Oct 30, 2024
1 parent 53cf691 commit 281119e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/training_tutorials/finetune_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def template_dataset(sample):
)

# chunk dataset
lm_dataset = pack_dataset(dataset, chunk_length=512) # We use 2048 as the maximum length for packing
lm_dataset = pack_dataset(dataset, chunk_length=2048) # We use 2048 as the maximum length for packing

return lm_dataset

Expand Down

0 comments on commit 281119e

Please sign in to comment.