[QUESTION] Why is reset_attention_mask=False by default?
#1096
Replies: 1 comment
|
Here's the intuition behind the trade-offs: Why is it
|
reset_attention_mask=False by default?
#1096
|
Here's the intuition behind the trade-offs: Why is it
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Your question
When we want to make a training in LLMs with a lot of corpora, I understand that the usual approach is to introduce the documents with the following format:
[doc 1] <sep> [doc 2] <sep> ...
Until the context length is full. However, the intuitive way of optimizing that I see is using something that you call
reset_attention_maskand you have implemented here.What I did not expect is to find this attribute as False in most
yamlconfigurations of open models. Examples:While I understand that there might be some potential benefits to not using masking, I don't trivially see why it should be the default approach. I haven't found much on the internet on this topic, any information would be welcome!
All reactions