Fix doctest (#20023)
* Fix doctest Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -437,7 +437,7 @@ Depending on your task, you'll typically pass the following parameters to [`Trai
|
||||
```py
|
||||
>>> 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`]:
|
||||
|
||||
Reference in New Issue
Block a user