Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 12c97a0

Browse files
rongruosongeric-haibin-lin
authored andcommitted
[DOC] fix comment of train_valid_split (#670)
* fix code comment * fix comment of train_valid_split
1 parent 58237c0 commit 12c97a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gluonnlp/data/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def train_valid_split(dataset, valid_ratio=0.05):
238238
239239
Parameters
240240
----------
241-
train : list
241+
dataset : list
242242
A list of training samples.
243243
valid_ratio : float, default 0.05
244244
Proportion of training samples to use for validation set

0 commit comments

Comments
 (0)