Trainer QA Model Label Names
In the Trainer Class, the default label names for a QA model is ["start_positions, end_positions"]. You can see this defined on the line I linked here. Is this supposed to be the case or should it be a list with 2 strings? The tutorials for using Trainer on the transformers documentation show setting up a custom dataset with encoding having two separate keys for the start and end positions. Should we be setting the label_names parameter in our training args or is this a bug? If this is not a bug, could the documentation for setting up a custom QA dataset be updated so others don't get confused as well.
https://github.com/huggingface/transformers/blob/77a257fc210a56f1fd0d75166ecd654cf58111f3/src/transformers/trainer.py#L331