I’m attempting to run through the Audio Course Hands-On Exercise in Chapter 5 and I believe (or at least hope) that I’ve gotten to the part where I initialize the trainer. I am completely brand new to this process, so I’ve just been following along with the code in the course, but when I try and run this code:
from transformers import Seq2SeqTrainer
trainer = Seq2SeqTrainer(
args=training_args,
model=model,
train_dataset=minds_split[“train”],
eval_dataset=minds_split[“test”],
data_collator=data_collator,
compute_metrics=compute_metrics,
tokenizer=processor,
)
I get the error TypeError: Accelerator.init() got an unexpected keyword argument ‘use_seedable_sampler’
After some quick Google Searches, I still can’t figure out what’s causing the error. Any suggestions?