# Audio Course Exercise Accelerator problems

**URL:** <https://discuss.huggingface.co/t/audio-course-exercise-accelerator-problems/91819>\
**Category:** Beginners\
**Created:** [June 12, 2024, 6:42pm UTC](https://discuss.huggingface.co/t/audio-course-exercise-accelerator-problems/91819 "2024-06-12T18:42:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tylersbarlow](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@tylersbarlow](https://discuss.huggingface.co/u/tylersbarlow)\
**Post date:** [June 12, 2024, 6:42pm UTC](https://discuss.huggingface.co/t/audio-course-exercise-accelerator-problems/91819/1 "2024-06-12T18:42:38Z")

</div>

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?
