maximedb commited on
Commit
c399a5a
1 Parent(s): cead70c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -1
README.md CHANGED
@@ -48,7 +48,17 @@ load_dataset("clips/mfaq")
48
  ## Languages
49
  We collected around 6M pairs of questions and answers in 21 different languages. To download a language specific subset you need to specify the language key as configuration. See below for an example.
50
  ```
51
- load_dataset("clips/mfaq", "en")
 
 
 
 
 
 
 
 
 
 
52
  ```
53
 
54
  | Language | Key | Pairs | Pages |
 
48
  ## Languages
49
  We collected around 6M pairs of questions and answers in 21 different languages. To download a language specific subset you need to specify the language key as configuration. See below for an example.
50
  ```
51
+ d = load_dataset("clips/mfaq", "en")
52
+ print(d["validation"][-1])
53
+ {
54
+ "qa_pairs": [
55
+ {
56
+ "question": "Do I need a rental Car in Cork?",
57
+ "answer": "If you plan on travelling outside of Cork City, for instance to Kinsale [...]"
58
+ },
59
+ ... # 5 additional pairs not shown
60
+ ]
61
+ }
62
  ```
63
 
64
  | Language | Key | Pairs | Pages |