Update README.md
Browse files
README.md
CHANGED
@@ -11,3 +11,13 @@ This is the Japanese subset of [TyDi QA](https://github.com/google-research-data
|
|
11 |
- validation: 1709 (original: 18670)
|
12 |
|
13 |
- secondary task ... no japanese data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
- validation: 1709 (original: 18670)
|
12 |
|
13 |
- secondary task ... no japanese data
|
14 |
+
|
15 |
+
|
16 |
+
**filtering script**
|
17 |
+
|
18 |
+
```python
|
19 |
+
from datasets import load_dataset
|
20 |
+
|
21 |
+
dataset = load_dataset("tydiqa", "secondary_task")
|
22 |
+
ja_dataset = dataset.filter(lambda example: example['id'].startswith('jp'))
|
23 |
+
```
|