Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,22 @@ license: mit
|
|
| 13 |
<h1>Quickstart Usage</h1>
|
| 14 |
<p>Install HuggingFace Datasets package</p>
|
| 15 |
<p>Each subset can be loaded into python using the Huggingface datasets library. First, from the command line install the datasets library:</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
```python
|
| 18 |
from datasets import load_dataset
|
|
|
|
| 13 |
<h1>Quickstart Usage</h1>
|
| 14 |
<p>Install HuggingFace Datasets package</p>
|
| 15 |
<p>Each subset can be loaded into python using the Huggingface datasets library. First, from the command line install the datasets library:</p>
|
| 16 |
+
```python
|
| 17 |
+
pip install datasets
|
| 18 |
+
import datasets
|
| 19 |
+
```
|
| 20 |
+
<p>Load model datasets</p>
|
| 21 |
+
<p>Each subset can be loaded into python using the Huggingface datasets library. First, from the command line install the datasets library.</p>
|
| 22 |
+
```bash
|
| 23 |
+
$ pip install datasets
|
| 24 |
+
```
|
| 25 |
+
<p>then, from within python load the datasets library</p>
|
| 26 |
+
```python
|
| 27 |
+
import datasets
|
| 28 |
+
from datasets import load_dataset
|
| 29 |
+
```
|
| 30 |
+
<p>Load model datasets</p>
|
| 31 |
+
<p>To load one of the NAKB_sub model datasets (see available datasets below), use datasets.load_dataset(...):</p>
|
| 32 |
|
| 33 |
```python
|
| 34 |
from datasets import load_dataset
|