You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
kaseketsu
changed the title
Possible errors in the source code
Possible errors in the source code /file: train.py; function: main
Aug 4, 2024
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
The text was updated successfully, but these errors were encountered: