Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -39,13 +39,13 @@ This dataset can be used for masked/causal language modeling. You can easily loa
|
|
39 |
from datasets import load_dataset
|
40 |
|
41 |
# Load the whole dataset
|
42 |
-
dataset = load_dataset("arxyzan/hmblogs-
|
43 |
|
44 |
# Load a portion by %
|
45 |
-
dataset = load_dataset("arxyzan/hmblogs-
|
46 |
|
47 |
# Load a custom shard
|
48 |
-
dataset = load_dataset("arxyzan/hmblogs-
|
49 |
```
|
50 |
|
51 |
# Citation
|
|
|
39 |
from datasets import load_dataset
|
40 |
|
41 |
# Load the whole dataset
|
42 |
+
dataset = load_dataset("arxyzan/hmblogs-v3", split="train")
|
43 |
|
44 |
# Load a portion by %
|
45 |
+
dataset = load_dataset("arxyzan/hmblogs-v3", split="train[:50%]")
|
46 |
|
47 |
# Load a custom shard
|
48 |
+
dataset = load_dataset("arxyzan/hmblogs-v3", data_files=["data/train-00000-of-00046.parquet", "data/train-00001-of-00046.parquet"])
|
49 |
```
|
50 |
|
51 |
# Citation
|