bourdoiscatie commited on
Commit
ca474c9
1 Parent(s): 2ab58c5

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - fr
4
+ license:
5
+ - mit
6
+ size_categories:
7
+ - 10K<n<100K
8
+ tags:
9
+ - coreference
10
+ ---
11
+
12
+ # wino_x_fr_prompt_coreference
13
+ ## Summary
14
+
15
+ **wino_x_fr_prompt_coreference** is a subset of the [**Dataset of French Prompts (DFP)**]().
16
+ It contains **X** rows that can be used for a coreference task.
17
+ The original data (without prompts) comes from the dataset [wino_x](https://huggingface.co/datasets/demelin/wino_x) by Muennighoff. where only the French part has been kept.
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
+ 10 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
+ '"'+sentence+'"\nRemplacer le "_" dans la phrase ci-dessus par la bonne option :\n- "'+option1+'"\n- "'+option2+'"',
27
+ '"'+sentence+'"\nRemplace le "_" dans la phrase ci-dessus par la bonne option :\n- "'+option1+'"\n- "'+option2+'"',
28
+ '"'+sentence+'"\nRemplacez le "_" dans la phrase ci-dessus par la bonne option :\n- "'+option1+'"\n- "'+option2+'"',
29
+ '"'+sentence+'" Dans la phrase précédente, "_" fait-il référence à "'+option1+'" ou "'+option2+'" ?',
30
+ '"'+sentence+'" À quoi le "_" dans la phrase ci-dessus fait-il référence ? "'+option1+'" ou "'+option2+'" ?',
31
+ '"'+sentence+'" Le "_" dans la phrase ci-dessous fait référence à "'+option1+'"\n- "'+option2+'" ?',
32
+ 'Remplisser le "_" de la phrase suivante : "'+sentence+ '"\nChoix :\n- "'+option1+'"\n- "'+option2+'"\nRéponse :',
33
+ 'Remplis le "_" de la phrase suivante : "'+sentence+ '"\nChoix :\n- "'+option1+'"\n- "'+option2+'"\nRéponse :',
34
+ 'Remplissez le "_" de la phrase suivante : "'+sentence+ '"\nChoix :\n- "'+option1+'"\n- "'+option2+'"\nRéponse :',
35
+ 'Dans la phrase ci-dessous, le "_" renvoie-t-il à "'+option1+'" ou "'+option2+'" ? : '+sentence,
36
+ ```
37
+
38
+ ### Features used in the prompts
39
+ In the prompt list above, `option1`, `option2`, `sentence` and `targets` have been constructed from:
40
+ ```
41
+ wino_x = load_dataset('demelin/wino_x','lm_en_fr')
42
+ sentence = wino_x['test'][i]['context_fr']
43
+ option1 = wino_x['test'][i]['option1_fr']
44
+ option2 = wino_x['test'][i]['option2_fr']
45
+ targets = str(wino_x['test'][i]['answer']).replace("1",wino_x['test'][i]['option1_fr']).replace("2",wino_x['test'][i]['option2_fr'])
46
+ ```
47
+
48
+
49
+ # Splits
50
+ - train with X samples
51
+ - dev with Y samples
52
+ - test with Z samples
53
+
54
+
55
+ # How to use?
56
+ ```
57
+ from datasets import load_dataset
58
+ dataset = load_dataset("CATIE-AQ/wino_x_fr_prompt_coreference")
59
+ ```
60
+
61
+ # Citation
62
+ ## Original data
63
+ > @inproceedings{Emelin2021WinoXMW, title={Wino-X: Multilingual Winograd Schemas for Commonsense Reasoning and Coreference Resolution}, author={Denis Emelin and Rico Sennrich}, booktitle={EMNLP}, year={2021} }
64
+
65
+
66
+
67
+ ## This Dataset
68
+
69
+
70
+
71
+ ## License
72
+ MIT