bourdoiscatie commited on
Commit
e2f47d6
1 Parent(s): 14e1f52

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_question_generation_with_context
12
+
13
+ ## Summary
14
+
15
+ **squad_v2_french_translated_fr_prompt_question_generation_with_context** is a subset of the [**Dataset of French Prompts (DFP)**]().
16
+ It contains **48,069** rows that can be used for a question-generation (with context) task.
17
+ 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.
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
+ '"'+context+'"\n Générer une question à partir du texte ci-dessus : ',
27
+ '"'+context+'"\n Génère une question à partir du texte ci-dessus : ',
28
+ '"'+context+'"\n Générez une question à partir du texte ci-dessus : ',
29
+ '"'+context+'"\n Trouver une question à partir du texte ci-dessus : ',
30
+ '"'+context+'"\n Trouve une question à partir du texte ci-dessus : ',
31
+ '"'+context+'"\n Trouvez une question à partir du texte ci-dessus : ',
32
+ '"'+context+'"\n Créer une bonne question à partir du texte ci-dessus : ',
33
+ '"'+context+'"\n Crée trouver une bonne question à partir du texte ci-dessus : ',
34
+ '"'+context+'"\n Créez trouver une bonne question à partir du texte ci-dessus : ',
35
+ '"'+context+'"\n Ecrire une bonne question à partir du texte ci-dessus : ',
36
+ '"'+context+'"\n Ecris une bonne question à partir du texte ci-dessus : ',
37
+ '"'+context+'"\n Ecrivez une bonne question à partir du texte ci-dessus : ',
38
+ 'Générer une bonne question pour le texte suivant : "'+context+'"',
39
+ 'Génère une bonne question pour le texte suivant : "'+context+'"',
40
+ 'Générez une bonne question pour le texte suivant : "'+context+'"',
41
+ 'Trouver une bonne question pour le texte suivant : "'+context+'"',
42
+ 'Trouve une bonne question pour le texte suivant : "'+context+'"',
43
+ 'Trouvez trouver une bonne question pour le texte suivant : "'+context+'"',
44
+ 'Créer une bonne question pour le texte suivant : "'+context+'"',
45
+ 'Crée trouver une bonne question pour le texte suivant : "'+context+'"',
46
+ 'Créez trouver une bonne question pour le texte suivant : "'+context+'"',
47
+ 'Ecrire une bonne question pour le texte suivant : "'+context+'"',
48
+ 'Ecris une bonne question pour le texte suivant : "'+context+'"',
49
+ 'Ecrivez une bonne question pour le texte suivant : "'+context+'"'
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_question_generation_with_context")
61
+ ```
62
+
63
+ # Citation
64
+ ## Original data
65
+ >
66
+
67
+
68
+
69
+
70
+ ## This Dataset
71
+
72
+
73
+
74
+ ## License
75
+ apache-2.0