I had a similar issue.
They key for me was to add this to my TrainingArguments:
training_args = TrainingArguments (
remove_unused_columns = False,
...
)
I had a similar issue.
They key for me was to add this to my TrainingArguments:
training_args = TrainingArguments (
remove_unused_columns = False,
...
)