Update README.md
Browse files
README.md
CHANGED
@@ -7,4 +7,17 @@ sdk: static
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
+
### Dataset
|
11 |
+
|
12 |
+
To use our unified datasets, you need to install [ConvLab-3](https://github.com/ConvLab/ConvLab-3) platform first. Then you can load the dataset via:
|
13 |
+
```
|
14 |
+
from convlab.util import load_dataset, load_ontology, load_database
|
15 |
+
|
16 |
+
dataset_name = 'multiwoz21' # use the dataset name in our repo
|
17 |
+
dataset = load_dataset(dataset_name)
|
18 |
+
ontology = load_ontology(dataset_name)
|
19 |
+
database = load_database(dataset_name)
|
20 |
+
```
|
21 |
+
Each dataset has a `dummy_data.json` showing a few samples. For the unified data format and more usage please refer to [here](https://github.com/ConvLab/ConvLab-3/tree/master/data/unified_datasets).
|
22 |
+
|
23 |
+
We welcome contributions to adding new datasets and models!
|