Datasets:
antoinelb7
commited on
Commit
•
14479a6
1
Parent(s):
aa66399
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,63 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
task_categories:
|
4 |
+
- question-answering
|
5 |
+
- text-retrieval
|
6 |
---
|
7 |
+
|
8 |
+
# Alloprof dataset
|
9 |
+
|
10 |
+
This is the dataset refered to in our paper:
|
11 |
+
|
12 |
+
Alloprof: a new French question-answer education dataset and its use in an information retrieval case study (https://arxiv.org/abs/2302.07738)
|
13 |
+
|
14 |
+
This dataset was provided by [AlloProf](https://www.alloprof.qc.ca/), an organisation in Quebec, Canada offering resources and a help forum curated by a large number of teachers to students on all subjects taught from in primary and secondary school.
|
15 |
+
|
16 |
+
Raw data on questions is available in the following files:
|
17 |
+
|
18 |
+
- `data/questions/categories.json`: subjects and their corresponding id
|
19 |
+
- `data/questions/comments.json`: explanation (answer) data
|
20 |
+
- `data/questions/discussions.json`: question data
|
21 |
+
- `data/questions/grades.json`: grades and their corresponding id
|
22 |
+
- `data/questions/roles.json`: information about the user type for each user id
|
23 |
+
|
24 |
+
Raw data on reference pages is available in the following files:
|
25 |
+
|
26 |
+
- `data/pages/page-content-en.json`: data for the reference pages in English
|
27 |
+
- `data/pages/page-content-fr.json`: data for the reference pages in French
|
28 |
+
|
29 |
+
The data can be parsed and structured using the script `scripts/parse_data.py` to create the file `data/alloprof.csv` with the following columns:
|
30 |
+
|
31 |
+
- `id` (str) : Id of the document
|
32 |
+
- `url` (str) : URL of the document
|
33 |
+
- `text` (str) : Parsed text of the document
|
34 |
+
- `language` (str) : Either "fr" or "en", the language of the document
|
35 |
+
- `user` (int) : Id corresponding to the user who asked the question
|
36 |
+
- `images` (str) : ";" separated list of URLs of images contained in the document
|
37 |
+
- `relevant` (str) : ";" separated list of document ids appearing as links in the explanation to that document. For files, this will always be empty as there are no corresponding explanation
|
38 |
+
- `is_query` (bool) : If this document is a question
|
39 |
+
- `subject` (str) : ";" separated list of school subjects the document is related to
|
40 |
+
- `grade` (str) : ";" separated list of school grade levels the document is related to
|
41 |
+
- `possible` (str) : ";" separated list of possible documents ids this document may refer to. This list corresponds to every document of the same subject and grade. For files, this will always be empty to speed up reading and writing
|
42 |
+
|
43 |
+
The `possible` column depends on arguments passed to the scripts to add related subjects, and lower and higher grade levels to the possible documents (see paper).
|
44 |
+
Also note that the provided `alloprof.csv` file is stored with git lfs and can be pulled with `git lfs install && git lfs pull`.
|
45 |
+
|
46 |
+
For images, a script to download them is available as `scripts/download_images.py`.
|
47 |
+
|
48 |
+
If you have any questions, don't hesitate to mail us at antoine.lefebvre-brossard@mila.quebec.
|
49 |
+
|
50 |
+
**Please cite our work as:**
|
51 |
+
|
52 |
+
```
|
53 |
+
@misc{lef23,
|
54 |
+
doi = {10.48550/ARXIV.2302.07738},
|
55 |
+
url = {https://arxiv.org/abs/2302.07738},
|
56 |
+
author = {Lefebvre-Brossard, Antoine and Gazaille, Stephane and Desmarais, Michel C.},
|
57 |
+
keywords = {Computation and Language (cs.CL), Information Retrieval (cs.IR), Machine Learning (cs.LG), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
58 |
+
title = {Alloprof: a new French question-answer education dataset and its use in an information retrieval case study},
|
59 |
+
publisher = {arXiv},
|
60 |
+
year = {2023},
|
61 |
+
copyright = {Creative Commons Attribution Non Commercial Share Alike 4.0 International}
|
62 |
+
}
|
63 |
+
```
|