Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -269,7 +269,7 @@ To load the datasets:
|
|
269 |
from datasets import load_dataset
|
270 |
|
271 |
# Load nepberta configuration
|
272 |
-
|
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
|