Datasets:
Tasks:
Text Generation
Size:
10K - 100K
Update README.md
Browse files
README.md
CHANGED
@@ -117,9 +117,17 @@ size_categories:
|
|
117 |
|
118 |
## Usage
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
```python
|
121 |
from datasets import load_dataset
|
122 |
-
dataset = load_dataset('IlyaGusev/habr', split="train")
|
|
|
|
|
123 |
```
|
124 |
|
125 |
## Data Instances
|
|
|
117 |
|
118 |
## Usage
|
119 |
|
120 |
+
Prerequisites:
|
121 |
+
```bash
|
122 |
+
pip install datasets install zstandard jsonlines pysimdjson
|
123 |
+
```
|
124 |
+
|
125 |
+
Dataset iteration:
|
126 |
```python
|
127 |
from datasets import load_dataset
|
128 |
+
dataset = load_dataset('IlyaGusev/habr', split="train", streaming=True)
|
129 |
+
for example in dataset:
|
130 |
+
print(example["text_markdown"])
|
131 |
```
|
132 |
|
133 |
## Data Instances
|