Aananda-giri commited on
Commit
606a4e6
·
verified ·
1 Parent(s): ea031a2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -269,7 +269,7 @@ To load the datasets:
269
  from datasets import load_dataset
270
 
271
  # Load nepberta configuration
272
- nepberta_dataset = load_dataset("Aananda-giri/nepali_llm_datasets", name="nepberta", split='train') # use `streaming=True` to avoid downloading all the dataset
273
 
274
  # length of chunks
275
  len(nepberta_train['text']) # 18 : number of chunks
 
269
  from datasets import load_dataset
270
 
271
  # Load nepberta configuration
272
+ nepberta_train = load_dataset("Aananda-giri/nepali_llm_datasets", name="nepberta", split='train[0:2]') # load 2 chunks, streaming mode to avoid downloading all the dataset
273
 
274
  # length of chunks
275
  len(nepberta_train['text']) # 18 : number of chunks