Datasets:
sadrasabouri
commited on
Commit
•
92b3fdd
1
Parent(s):
0d593c0
Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,11 @@ pretty_name: SynTranFa
|
|
17 |
---
|
18 |
|
19 |
# SynTran-fa
|
20 |
-
Syntactic Transformed Version of Farsi QA datasets to make fluent responses from questions and short answers.
|
|
|
|
|
|
|
|
|
21 |
|
22 |
## Table of Contents
|
23 |
- [Table of Contents](#table-of-contents)
|
@@ -49,16 +53,16 @@ Syntactic Transformed Version of Farsi QA datasets to make fluent responses from
|
|
49 |
- **Homepage:** [Sharif-SLPL](https://github.com/Sharif-SLPL)
|
50 |
- **Repository:** [SynTran-fa](https://github.com/agp-internship/syntran-fa)
|
51 |
- **Point of Contact:** [Sadra Sabouri](mailto:[email protected])
|
52 |
-
- **Size of dataset files:** 6.
|
53 |
|
54 |
### Dataset Summary
|
55 |
|
56 |
Generating fluent responses has always been challenging for the question-answering task, especially in low-resource languages like Farsi. In recent years there were some efforts for enhancing the size of datasets in Farsi. Syntran-fa is a question-answering dataset that accumulates the former Farsi QA dataset's short answers and proposes a complete fluent answer for each pair of (question, short_answer).
|
57 |
|
58 |
This dataset contains nearly 50,000 indices of questions and answers. The dataset that has been used as our sources were as follows:
|
59 |
-
+
|
60 |
-
+
|
61 |
-
+
|
62 |
|
63 |
The main idea for this dataset comes from [Fluent Response Generation for Conversational Question Answering](https://aclanthology.org/2020.acl-main.19.pdf) where they used a "parser + syntactic rules" module to make different fluent answers from a pair of question and a short answer using a parser and some syntactic rules. In this project, we used [stanza](https://stanfordnlp.github.io/stanza/) as our parser to parse the question and generate a response according to it using the short (1-2 word) answers. One can continue this project by generating different permutations of the sentence's parts (and thus providing more than one sentence for an answer) or training a seq2seq model which does what we do with our rule-based system (by defining a new text-to-text task).
|
64 |
|
@@ -71,6 +75,17 @@ This dataset can be used for the question-answering task, especially when you ar
|
|
71 |
+ Persian (fa)
|
72 |
|
73 |
## Dataset Structure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
### Data Instances
|
76 |
|
|
|
17 |
---
|
18 |
|
19 |
# SynTran-fa
|
20 |
+
Syntactic Transformed Version of Farsi QA datasets to make fluent responses from questions and short answers. You can use this dataset by the code below:
|
21 |
+
```
|
22 |
+
import datasets
|
23 |
+
data = datasets.load_dataset('SLPL/syntran-fa', split="train")
|
24 |
+
```
|
25 |
|
26 |
## Table of Contents
|
27 |
- [Table of Contents](#table-of-contents)
|
|
|
53 |
- **Homepage:** [Sharif-SLPL](https://github.com/Sharif-SLPL)
|
54 |
- **Repository:** [SynTran-fa](https://github.com/agp-internship/syntran-fa)
|
55 |
- **Point of Contact:** [Sadra Sabouri](mailto:[email protected])
|
56 |
+
- **Size of dataset files:** 6.68MB
|
57 |
|
58 |
### Dataset Summary
|
59 |
|
60 |
Generating fluent responses has always been challenging for the question-answering task, especially in low-resource languages like Farsi. In recent years there were some efforts for enhancing the size of datasets in Farsi. Syntran-fa is a question-answering dataset that accumulates the former Farsi QA dataset's short answers and proposes a complete fluent answer for each pair of (question, short_answer).
|
61 |
|
62 |
This dataset contains nearly 50,000 indices of questions and answers. The dataset that has been used as our sources were as follows:
|
63 |
+
+ [PersianQA](https://github.com/sajjjadayobi/PersianQA)
|
64 |
+
+ [PersianQuAD](https://ieeexplore.ieee.org/document/9729745)
|
65 |
+
+ [PQuAD](https://arxiv.org/abs/2202.06219)
|
66 |
|
67 |
The main idea for this dataset comes from [Fluent Response Generation for Conversational Question Answering](https://aclanthology.org/2020.acl-main.19.pdf) where they used a "parser + syntactic rules" module to make different fluent answers from a pair of question and a short answer using a parser and some syntactic rules. In this project, we used [stanza](https://stanfordnlp.github.io/stanza/) as our parser to parse the question and generate a response according to it using the short (1-2 word) answers. One can continue this project by generating different permutations of the sentence's parts (and thus providing more than one sentence for an answer) or training a seq2seq model which does what we do with our rule-based system (by defining a new text-to-text task).
|
68 |
|
|
|
75 |
+ Persian (fa)
|
76 |
|
77 |
## Dataset Structure
|
78 |
+
Each row of the dataset will look like something like the below:
|
79 |
+
```
|
80 |
+
{
|
81 |
+
'id': 0,
|
82 |
+
'question': 'باشگاه هاکی ساوتهمپتون چه نام دارد؟',
|
83 |
+
'short_answer': 'باشگاه هاکی ساوتهمپتون',
|
84 |
+
'fluent_answer': 'باشگاه هاکی ساوتهمپتون باشگاه هاکی ساوتهمپتون نام دارد.',
|
85 |
+
'bert_loss': 1.110097069682014
|
86 |
+
}
|
87 |
+
```
|
88 |
+
+ __id__:
|
89 |
|
90 |
### Data Instances
|
91 |
|