mickylan2367 commited on
Commit
25a0b64
1 Parent(s): 049b64f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -20,6 +20,6 @@ data = data["train"]
20
  ## 1: データ型をtorchへ
21
  ```py
22
  from datasets import Dataset
23
- train = Dataset.from_dict(data[slice(0, 400, None)])
24
  train = train.with_format("torch")
25
  ```
 
20
  ## 1: データ型をtorchへ
21
  ```py
22
  from datasets import Dataset
23
+ train = Dataset.from_dict(data[slice(0, 400, None)]) // 訓練データとして400枚ほど抽出
24
  train = train.with_format("torch")
25
  ```