"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "c0b5ad94736093d1cdecb76a627494ca8ce1a162"
Unverified Commit fb7cbe23 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Fix doctest (#20023)



* Fix doctest
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent f69eb24b
...@@ -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`]:
......
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