Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -33,6 +33,7 @@ Each document has:
|
|
33 |
- 'source': Origin of the document (wikipedia/news/text)
|
34 |
|
35 |
## Usage Example
|
|
|
36 |
from datasets import load_dataset
|
37 |
|
38 |
# Load full dataset
|
@@ -46,6 +47,6 @@ streaming=True
|
|
46 |
|
47 |
# Filter by source
|
48 |
wiki_docs = dataset.filter(lambda x: x["source"] == "wikipedia")
|
49 |
-
|
50 |
## Updates
|
51 |
Released: 2024-12-17
|
|
|
33 |
- 'source': Origin of the document (wikipedia/news/text)
|
34 |
|
35 |
## Usage Example
|
36 |
+
```
|
37 |
from datasets import load_dataset
|
38 |
|
39 |
# Load full dataset
|
|
|
47 |
|
48 |
# Filter by source
|
49 |
wiki_docs = dataset.filter(lambda x: x["source"] == "wikipedia")
|
50 |
+
```
|
51 |
## Updates
|
52 |
Released: 2024-12-17
|