TingChen-ppmc commited on
Commit
f10f366
1 Parent(s): 4feb0c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -43,8 +43,8 @@ This dataset only has train split. To split out a test split, use
43
  ```python
44
  from datasets import load_dataset
45
  train_split = load_dataset("TingChen-ppmc/Shanghai_Dialect_Conversational_Speech_Corpus", split="train")
46
- # where test=0.5 denotes 0.5 of the dataset will be split to test split
47
- corpus = train_split.train_test_split(test=0.5)
48
  ```
49
 
50
  A sample data would be
 
43
  ```python
44
  from datasets import load_dataset
45
  train_split = load_dataset("TingChen-ppmc/Shanghai_Dialect_Conversational_Speech_Corpus", split="train")
46
+ # where test_size=0.5 denotes 0.5 of the dataset will be split to test split
47
+ corpus = train_split.train_test_split(test_size=0.5)
48
  ```
49
 
50
  A sample data would be