Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
fb7cbe23
Unverified
Commit
fb7cbe23
authored
Nov 02, 2022
by
Yih-Dar
Committed by
GitHub
Nov 02, 2022
Browse files
Fix doctest (#20023)
* Fix doctest Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
f69eb24b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/quicktour.mdx
docs/source/en/quicktour.mdx
+1
-1
No files found.
docs/source/en/quicktour.mdx
View file @
fb7cbe23
...
@@ -437,7 +437,7 @@ Depending on your task, you'll typically pass the following parameters to [`Trai
...
@@ -437,7 +437,7 @@ Depending on your task, you'll typically pass the following parameters to [`Trai
```py
```py
>>> from datasets import load_dataset
>>> from datasets import load_dataset
>>> dataset = load_dataset("rotten_tomatoes")
>>> dataset = load_dataset("rotten_tomatoes")
# doctest: +IGNORE_RESULT
```
```
5. Create a function to tokenize the dataset, and apply it over the entire dataset with [`~datasets.Dataset.map`]:
5. Create a function to tokenize the dataset, and apply it over the entire dataset with [`~datasets.Dataset.map`]:
...
...
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