Update README.md
Browse files
README.md
CHANGED
|
@@ -39,10 +39,10 @@ Here's how to get the data using Huggingface's `datasets` library:
|
|
| 39 |
```python
|
| 40 |
from datasets import load_dataset
|
| 41 |
|
| 42 |
-
# Load all the data
|
| 43 |
dataset = load_dataset("stanfordnlp/shp")
|
| 44 |
|
| 45 |
-
# Load one of the
|
| 46 |
dataset = load_dataset("stanfordnlp/shp", data_dir="askculinary")
|
| 47 |
```
|
| 48 |
|
|
|
|
| 39 |
```python
|
| 40 |
from datasets import load_dataset
|
| 41 |
|
| 42 |
+
# Load all the data
|
| 43 |
dataset = load_dataset("stanfordnlp/shp")
|
| 44 |
|
| 45 |
+
# Load one of the subreddits
|
| 46 |
dataset = load_dataset("stanfordnlp/shp", data_dir="askculinary")
|
| 47 |
```
|
| 48 |
|