bourdoiscatie commited on
Commit
47d9785
1 Parent(s): be8ca18

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - fr
4
+ license: apache-2.0
5
+ size_categories:
6
+ - 10K<n<100K
7
+ task_categories:
8
+ - text-generation
9
+ ---
10
+
11
+ # squad_v2_french_translated_fr_prompt_context_generation_with_question
12
+ ## Summary
13
+
14
+ **squad_v2_french_translated_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 question) task.
16
+ The original data (without prompts) comes from the dataset [pragnakalp/squad_v2_french_translated](https://huggingface.co/datasets/pragnakalp/squad_v2_french_translated) and was augmented by questions in SQUAD 2.0 format in the [FrenchQA]( https://huggingface.co/datasets/CATIE-AQ/frenchQA) dataset.
17
+ 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.
18
+
19
+
20
+ ## Prompts used
21
+ ### List
22
+ 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.
23
+
24
+ ```
25
+ 'Étant donné la question "'+question+'", écrire un texte explicatif.\nTexte : ',
26
+ 'Étant donné la question "'+question+'", écris un texte explicatif.\nTexte : ',
27
+ 'Étant donné la question "'+question+'", écrivez un texte explicatif.\nTexte : ',
28
+ 'Étant donné la question "'+question+'", rédiger un texte explicatif.\nTexte : ',
29
+ 'Étant donné la question "'+question+'", rédige un texte explicatif.\nTexte : ',
30
+ 'Étant donné la question "'+question+'", rédigez un texte explicatif.\nTexte : ',
31
+ 'Étant donné la question "'+question+'", générer un texte explicatif.\nTexte : ',
32
+ 'Étant donné la question "'+question+'", génère un texte explicatif.\nTexte : ',
33
+ 'Étant donné la question "'+question+'", générez un texte explicatif.\nTexte : ',
34
+ 'Étant donné la question "'+question+'", créer un texte explicatif.\nTexte : ',
35
+ 'Étant donné la question "'+question+'", crée un texte explicatif.\nTexte : ',
36
+ 'Étant donné la question "'+question+'", créez un texte explicatif.\nTexte : ',
37
+ 'Ecrire un texte comme contexte à la question "'+question+'" \nTexte : ',
38
+ 'Ecris un texte comme contexte à la question "'+question+'" \nTexte : ',
39
+ 'Ecrivez un texte comme contexte à la question "'+question+'" \nTexte : ',
40
+ 'Rédiger un texte comme contexte à la question "'+question+'" \nTexte : ',
41
+ 'Rédige un texte comme contexte à la question "'+question+'" \nTexte : ',
42
+ 'Rédigez un texte comme contexte à la question "'+question+'" \nTexte : ',
43
+ 'Générer un texte comme contexte à la question "'+question+'" \nTexte : ',
44
+ 'Génère un texte comme contexte à la question "'+question+'" \nTexte : ',
45
+ 'Générez un texte comme contexte à la question "'+question+'" \nTexte : ',
46
+ 'Créer un texte comme contexte à la question "'+question+'" \nTexte : ',
47
+ 'Crée un texte comme contexte à la question "'+question+'" \nTexte : ',
48
+ 'Créez un texte comme contexte à la question "'+question+'" \nTexte : '
49
+ ```
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/squad_v2_french_translated_fr_prompt_context_generation_with_question")
61
+ ```
62
+
63
+ # Citation
64
+ ## Original data
65
+ >
66
+
67
+
68
+
69
+
70
+ ## This Dataset
71
+
72
+
73
+
74
+ ## License
75
+ apache-2.0