As shown in the bold part of the following code:
trainer = Seq2SeqTrainer(
model=model,
args=training_args,
data_collator=default_data_collator,
train_dataset=train_dataset,
tokenizer=feature_extractor,
)
trainer.train()
Perhaps it should be replaced by tokenizer=tokenizer
As shown in the bold part of the following code: trainer = Seq2SeqTrainer( model=model, args=training_args, data_collator=default_data_collator, train_dataset=train_dataset, tokenizer=feature_extractor, )
trainer.train() Perhaps it should be replaced by tokenizer=tokenizer