Hi all, I am following this guide 2 in order to fine-tune the model for my dataset. Reading the documentation of Wav2Vec2ForCTC, it says that the argument attention_mask must only be passed when the model’s processor has config.return_attention_mask == True. The processor that is created in the blog post, has indeed its return_attention_mask argument set to True.
When setting up the trainer, does it take care of this by itself? Does it understand what arguments to use based on the settings? Or do I need to instruct it somehow to do it? By the way, as far as I understand the  attention_mask is needed only when I input a batch of data into the model, not for single data points.
Thanks in advance.