File size: 4,320 Bytes
4e130b0
 
 
 
 
 
74ab185
4e130b0
 
d49fc71
 
 
 
 
 
 
 
 
 
 
4e130b0
 
 
 
 
 
d49fc71
74ab185
4e130b0
 
 
 
 
 
 
 
75138eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e130b0
 
 
 
74ab185
 
d49fc71
4e130b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dbdafc5
 
 
 
 
 
 
 
4e130b0
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
language:
- fr
license: 
- cc-by-nc-sa-3.0
size_categories:
- 100k<n<1M
task_categories:
- text-generation
tags:
- DFP
- french prompts
annotations_creators:
- found
language_creators:
- found
multilinguality:
- monolingual
source_datasets:
- fquad
---

# fquad_fr_prompt_context_generation_with_answer

## Summary

**fquad_fr_prompt_context_generation_with_answer** is a subset of the [**Dataset of French Prompts (DFP)**](https://huggingface.co/datasets/CATIE-AQ/DFP).    
It contains **574,056** rows that can be used for a text generation task.  
The original data (without prompts) comes from the dataset [FQuAD]( https://huggingface.co/datasets/fquad) by d'Hoffschmidt et al. and was augmented by questions in SQUAD 2.0 format in the [FrenchQA]( https://huggingface.co/datasets/CATIE-AQ/frenchQA) dataset.
As FQuAD's license does not allow data to be shared, we simply share the prompts used, so that users can recreate the dataset themselves in the same format as the [xP3](https://huggingface.co/datasets/bigscience/xP3) dataset by Muennighoff et al.

## Prompts used
### List
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.

```
'Étant donné la réponse "'+ answer+'", écrire un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", écris un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", écrivez un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", rédiger un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", rédige un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", rédigez un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", générer un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", génère un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", générez un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", créer un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", crée un texte explicatif.\nTexte : ',  
'Étant donné la réponse "'+ answer+'", créez un texte explicatif.\nTexte : ',  
'Ecrire un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Ecris un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Ecrivez un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Rédiger un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Rédige un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Rédigez un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Générer un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Génère un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Générez un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Créer un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Crée un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
'Créez un texte comme contexte de la réponse "'+ answer+'" \nTexte : ',  
```


# Splits
- `train` with 497,544 samples
- `valid` with 76,512 samples
- no test split


# How to use?
This repository doesn't contain any data.

# Citation
## Original data
> @ARTICLE{2020arXiv200206071
       author = {Martin, d'Hoffschmidt and Maxime, Vidal and Wacim, Belblidia and Tom, Brendlé},
        title = "{FQuAD: French Question Answering Dataset}",
      journal = {arXiv e-prints},
     keywords = {Computer Science - Computation and Language},
         year = "2020",
        month = "Feb",
          eid = {arXiv:2002.06071},
        pages = {arXiv:2002.06071},
archivePrefix = {arXiv},
       eprint = {2002.06071},
 primaryClass = {cs.CL}
}




## This Dataset
> @misc {centre_aquitain_des_technologies_de_l'information_et_electroniques_2023,  
	author       = { {Centre Aquitain des Technologies de l'Information et Electroniques} },  
	title        = { DFP (Revision 1d24c09) },  
	year         = 2023,  
	url          = { https://huggingface.co/datasets/CATIE-AQ/DFP },  
	doi          = { 10.57967/hf/1200 },  
	publisher    = { Hugging Face }  
}


## License
CC BY-NC-SA 3.0