mkshing commited on
Commit
5648793
1 Parent(s): d241e8f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
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
+ ```