Dear HuggingFace
I've noted that in run_cpt.py and run_sft.py, we introduce packing=True. However, we didn't provide DataCollatorForCompletionOnlyLM into SFTtrainer; would it introduce cross contamination in training?
referenece article: Improving Hugging Face Training Efficiency Through Packing with Flash Attention
trl issue on github: huggingface/trl#805
Dear HuggingFace
I've noted that in run_cpt.py and run_sft.py, we introduce
packing=True. However, we didn't provideDataCollatorForCompletionOnlyLMinto SFTtrainer; would it introduce cross contamination in training?referenece article: Improving Hugging Face Training Efficiency Through Packing with Flash Attention
trl issue on github: huggingface/trl#805