Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d3cbc997
Unverified
Commit
d3cbc997
authored
May 10, 2023
by
Maria Khalusova
Committed by
GitHub
May 10, 2023
Browse files
[docs] Audio task guides fixes (#23239)
trainer parameters fixed
parent
91f4c84a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docs/source/en/tasks/asr.mdx
docs/source/en/tasks/asr.mdx
+1
-1
docs/source/en/tasks/text-to-speech.mdx
docs/source/en/tasks/text-to-speech.mdx
+1
-1
No files found.
docs/source/en/tasks/asr.mdx
View file @
d3cbc997
...
...
@@ -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,
... )
...
...
docs/source/en/tasks/text-to-speech.mdx
View file @
d3cbc997
...
...
@@ -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,
... )
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment