Train with attention mask
germanjke opened this issue · 1 comments
germanjke commented
Hi,
Llama 3 trains like this
We trained the models on sequences of 8,192 tokens, using a mask to ensure self-attention does not cross document boundaries.
I see you have something like this in mpt_modeling.py
here
Can you tell please, how we can define this in train config?
Thanks
dakinggg commented
Hey, we have not implemented the attention masking you are describing for models other than MPT variants.