"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "185122ef221371964245850e47fcb547637e72ce"
Unverified Commit d3cbc997 authored by Maria Khalusova's avatar Maria Khalusova Committed by GitHub
Browse files

[docs] Audio task guides fixes (#23239)

trainer parameters fixed
parent 91f4c84a
......@@ -282,7 +282,7 @@ At this point, only three steps remain:
... args=training_args,
... train_dataset=encoded_minds["train"],
... eval_dataset=encoded_minds["test"],
... tokenizer=processor.feature_extractor,
... tokenizer=processor,
... data_collator=data_collator,
... compute_metrics=compute_metrics,
... )
......
......@@ -469,7 +469,7 @@ Instantiate the `Trainer` object and pass the model, dataset, and data collator
... train_dataset=dataset["train"],
... eval_dataset=dataset["test"],
... data_collator=data_collator,
... tokenizer=processor.tokenizer,
... tokenizer=processor,
... )
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment