bourdoiscatie commited on
Commit
c109af6
1 Parent(s): 9b318ad

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +86 -0
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - fr
4
+ license: mit
5
+ size_categories:
6
+ - 10K<n<100K
7
+ task_categories:
8
+ - text-generation
9
+ ---
10
+
11
+ # piaf_fr_prompt_context_generation_with_question
12
+ ## Summary
13
+
14
+ **piaf_fr_prompt_context_generation_with_question** is a subset of the [**Dataset of French Prompts (DFP)**]().
15
+ It contains **48,069** rows that can be used for a context-generation (with answer and question)
16
+ task.
17
+ The original data (without prompts) comes from the dataset [PIAF](https://huggingface.co/datasets/etalab-ia/piaf) and was augmented by questions in SQUAD 2.0 format in the [FrenchQA]( https://huggingface.co/datasets/CATIE-AQ/frenchQA) dataset.
18
+ A list of prompts (see below) was then applied in order to build the input and target columns and thus obtain the same format as the [xP3](https://huggingface.co/datasets/bigscience/xP3) dataset by Muennighoff et al.
19
+
20
+
21
+ ## Prompts used
22
+ ### List
23
+ 24 prompts were created for this dataset. The logic applied consists in proposing prompts in the indicative tense, in the form of tutoiement and in the form of vouvoiement.
24
+
25
+ ```
26
+ 'Étant donné la question "'+question+'", écrire un texte explicatif.\nTexte : ',
27
+ 'Étant donné la question "'+question+'", écris un texte explicatif.\nTexte : ',
28
+ 'Étant donné la question "'+question+'", écrivez un texte explicatif.\nTexte : ',
29
+ 'Étant donné la question "'+question+'", rédiger un texte explicatif.\nTexte : ',
30
+ 'Étant donné la question "'+question+'", rédige un texte explicatif.\nTexte : ',
31
+ 'Étant donné la question "'+question+'", rédigez un texte explicatif.\nTexte : ',
32
+ 'Étant donné la question "'+question+'", générer un texte explicatif.\nTexte : ',
33
+ 'Étant donné la question "'+question+'", génère un texte explicatif.\nTexte : ',
34
+ 'Étant donné la question "'+question+'", générez un texte explicatif.\nTexte : ',
35
+ 'Étant donné la question "'+question+'", créer un texte explicatif.\nTexte : ',
36
+ 'Étant donné la question "'+question+'", crée un texte explicatif.\nTexte : ',
37
+ 'Étant donné la question "'+question+'", créez un texte explicatif.\nTexte : ',
38
+ 'Ecrire un texte comme contexte à la question "'+question+'" \nTexte : ',
39
+ 'Ecris un texte comme contexte à la question "'+question+'" \nTexte : ',
40
+ 'Ecrivez un texte comme contexte à la question "'+question+'" \nTexte : ',
41
+ 'Rédiger un texte comme contexte à la question "'+question+'" \nTexte : ',
42
+ 'Rédige un texte comme contexte à la question "'+question+'" \nTexte : ',
43
+ 'Rédigez un texte comme contexte à la question "'+question+'" \nTexte : ',
44
+ 'Générer un texte comme contexte à la question "'+question+'" \nTexte : ',
45
+ 'Génère un texte comme contexte à la question "'+question+'" \nTexte : ',
46
+ 'Générez un texte comme contexte à la question "'+question+'" \nTexte : ',
47
+ 'Créer un texte comme contexte à la question "'+question+'" \nTexte : ',
48
+ 'Crée un texte comme contexte à la question "'+question+'" \nTexte : ',
49
+ 'Créez un texte comme contexte à la question "'+question+'" \nTexte : '
50
+ ```
51
+
52
+ # Splits
53
+ - train with 48,069 samples
54
+ - no valid and test splits in the original data
55
+
56
+
57
+ # How to use?
58
+ ```
59
+ from datasets import load_dataset
60
+ dataset = load_dataset("CATIE-AQ/piaf_fr_prompt_context_generation_with_question")
61
+ ```
62
+
63
+
64
+ # Citation
65
+ ## Original data
66
+ > @InProceedings{keraron-EtAl:2020:LREC,
67
+ author = {Keraron, Rachel and Lancrenon, Guillaume and Bras, Mathilde and Allary, Frédéric and Moyse, Gilles and Scialom, Thomas and Soriano-Morales, Edmundo-Pavel and Staiano, Jacopo},
68
+ title = {Project PIAF: Building a Native French Question-Answering Dataset},
69
+ booktitle = {Proceedings of The 12th Language Resources and Evaluation Conference},
70
+ month = {May},
71
+ year = {2020},
72
+ address = {Marseille, France},
73
+ publisher = {European Language Resources Association},
74
+ pages = {5483--5492},
75
+ url = {https://www.aclweb.org/anthology/2020.lrec-1.673}
76
+ }
77
+
78
+
79
+
80
+
81
+ ## This Dataset
82
+
83
+
84
+
85
+ ## License
86
+ MIT