Fix doctest (#20023)

* Fix doctest

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-11-02 19:37:25 +01:00
committed by GitHub
parent f69eb24b5a
commit fb7cbe236b

View File

@@ -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`]: