Update README.md
Browse files
README.md
CHANGED
@@ -10,12 +10,14 @@ license: cc-by-4.0
|
|
10 |
|
11 |
# Dataset information
|
12 |
**Dataset concatenating QA datasets with context available in French and open-source.**
|
13 |
-
In addition, an augmented version of these datasets has been added (same context but different questions to create data in
|
14 |
-
In total, there are 221,348 training data, **910** validation data and 6,376 test data
|
15 |
-
In practice, due to the restrictive license for the FQUAD 1.0 dataset, we can only share **
|
|
|
16 |
Our methodology is described in a blog post available in [English](https://blog.vaniila.ai/en/QA_en/) or [French](https://blog.vaniila.ai/QA/).
|
17 |
|
18 |
|
|
|
19 |
# Usage
|
20 |
```
|
21 |
from datasets import load_dataset
|
@@ -26,12 +28,16 @@ dataset
|
|
26 |
DatasetDict({
|
27 |
train: Dataset({
|
28 |
features: ['context', 'question', 'answer', 'answer_start', 'dataset'],
|
29 |
-
num_rows:
|
30 |
})
|
31 |
validation: Dataset({
|
32 |
features: ['context', 'question', 'answer', 'answer_start', 'dataset'],
|
33 |
num_rows: 910
|
34 |
})
|
|
|
|
|
|
|
|
|
35 |
})
|
36 |
```
|
37 |
|
@@ -44,7 +50,7 @@ DatasetDict({
|
|
44 |
| [piaf](https://www.data.gouv.fr/en/datasets/piaf-le-dataset-francophone-de-questions-reponses/)| SQuAD 1.0 | 9 224 Q & A | X | X | Yes |
|
45 |
| piaf_v2| SQuAD 2.0 | 9 224 Q & A | X | X | Yes |
|
46 |
| [fquad](https://fquad.illuin.tech/)| SQuAD 1.0 | 20 731 Q & A | 3 188 Q & A (is not used for training, but as a test dataset) | 2 189 Q & A (not freely available)| No due to the license |
|
47 |
-
| fquad_v2 | SQuAD 2.0 | 20 731 Q & A | 3 188 Q & A (is not used for training, but as a test dataset) | X |
|
48 |
| [lincoln/newsquadfr](https://huggingface.co/datasets/lincoln/newsquadfr) | SQuAD 1.0 | 1 650 Q & A | 455 Q & A | X | Yes |
|
49 |
| lincoln/newsquadfr_v2 | SQuAD 2.0 | 1 650 Q & A | 455 Q & A | X | Yes |
|
50 |
| [pragnakalp/squad_v2_french_translated](https://huggingface.co/datasets/pragnakalp/squad_v2_french_translated)| SQuAD 2.0 | 79 069 Q & A | X | X | Yes |
|
@@ -73,6 +79,7 @@ dataset_train.head()
|
|
73 |
## Split
|
74 |
- `train` corresponds to the concatenation of the training dataset from `pragnakalp/squad_v2_english_translated` + `lincoln/newsquadfr` + `PIAFv1.2` + the augmented version of each dataset in SQuADv2 format (no shuffle has been performed)
|
75 |
- `validation` corresponds to the concatenation of the newsquadfr validation dataset + this same dataset expanded in SQuAD v2 format (= newsquadfr_v2) (no shuffle performed)
|
|
|
76 |
|
77 |
|
78 |
# Question type statistics
|
|
|
10 |
|
11 |
# Dataset information
|
12 |
**Dataset concatenating QA datasets with context available in French and open-source.**
|
13 |
+
In addition, an augmented version of these datasets has been added (same context but different questions to create data in SQuAD 2.0 format).
|
14 |
+
In total, there are 221,348 training data, **910** validation data and 6,376 test data.
|
15 |
+
In practice, due to the restrictive license for the FQUAD 1.0 dataset, we can only share **200,617** rows of the 221,348 training data and **3,188** rows of the 6,376 test data.
|
16 |
+
So to obtain the complete dataset, the user will have to concatenate this dataset with the fquad dataset available [here](https://fquad.illuin.tech/).
|
17 |
Our methodology is described in a blog post available in [English](https://blog.vaniila.ai/en/QA_en/) or [French](https://blog.vaniila.ai/QA/).
|
18 |
|
19 |
|
20 |
+
|
21 |
# Usage
|
22 |
```
|
23 |
from datasets import load_dataset
|
|
|
28 |
DatasetDict({
|
29 |
train: Dataset({
|
30 |
features: ['context', 'question', 'answer', 'answer_start', 'dataset'],
|
31 |
+
num_rows: 200617
|
32 |
})
|
33 |
validation: Dataset({
|
34 |
features: ['context', 'question', 'answer', 'answer_start', 'dataset'],
|
35 |
num_rows: 910
|
36 |
})
|
37 |
+
test: Dataset({
|
38 |
+
features: ['id', 'title', 'context', 'question', 'answers'],
|
39 |
+
num_rows: 3188
|
40 |
+
})
|
41 |
})
|
42 |
```
|
43 |
|
|
|
50 |
| [piaf](https://www.data.gouv.fr/en/datasets/piaf-le-dataset-francophone-de-questions-reponses/)| SQuAD 1.0 | 9 224 Q & A | X | X | Yes |
|
51 |
| piaf_v2| SQuAD 2.0 | 9 224 Q & A | X | X | Yes |
|
52 |
| [fquad](https://fquad.illuin.tech/)| SQuAD 1.0 | 20 731 Q & A | 3 188 Q & A (is not used for training, but as a test dataset) | 2 189 Q & A (not freely available)| No due to the license |
|
53 |
+
| fquad_v2 | SQuAD 2.0 | 20 731 Q & A | 3 188 Q & A (is not used for training, but as a test dataset) | X | Yes |
|
54 |
| [lincoln/newsquadfr](https://huggingface.co/datasets/lincoln/newsquadfr) | SQuAD 1.0 | 1 650 Q & A | 455 Q & A | X | Yes |
|
55 |
| lincoln/newsquadfr_v2 | SQuAD 2.0 | 1 650 Q & A | 455 Q & A | X | Yes |
|
56 |
| [pragnakalp/squad_v2_french_translated](https://huggingface.co/datasets/pragnakalp/squad_v2_french_translated)| SQuAD 2.0 | 79 069 Q & A | X | X | Yes |
|
|
|
79 |
## Split
|
80 |
- `train` corresponds to the concatenation of the training dataset from `pragnakalp/squad_v2_english_translated` + `lincoln/newsquadfr` + `PIAFv1.2` + the augmented version of each dataset in SQuADv2 format (no shuffle has been performed)
|
81 |
- `validation` corresponds to the concatenation of the newsquadfr validation dataset + this same dataset expanded in SQuAD v2 format (= newsquadfr_v2) (no shuffle performed)
|
82 |
+
- `test` corresponds to the concatenation of the fquad dataset SQuAD v1 in SQuAD v2 format (here we can only share the SQuAD v2 format)
|
83 |
|
84 |
|
85 |
# Question type statistics
|