Datasets:
Commit
·
898c16e
1
Parent(s):
92b3fdd
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,8 @@ pretty_name: SynTranFa
|
|
| 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 |
```
|
|
@@ -85,19 +86,17 @@ Each row of the dataset will look like something like the below:
|
|
| 85 |
'bert_loss': 1.110097069682014
|
| 86 |
}
|
| 87 |
```
|
| 88 |
-
+
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
[
|
| 93 |
-
|
| 94 |
-
### Data Fields
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
### Data Splits
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
## Dataset Creation
|
| 103 |
|
|
|
|
| 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 |
+
```python
|
| 23 |
import datasets
|
| 24 |
data = datasets.load_dataset('SLPL/syntran-fa', split="train")
|
| 25 |
```
|
|
|
|
| 86 |
'bert_loss': 1.110097069682014
|
| 87 |
}
|
| 88 |
```
|
| 89 |
+
+ `id` : the entry id in dataset
|
| 90 |
+
+ `question` : the question
|
| 91 |
+
+ `short_answer` : the short answer corresponding to the `question` (the primary answer)
|
| 92 |
+
+ `fluent_answer` : fluent (long) answer generated from both `question` and the `short_answer` (the secondary answer)
|
| 93 |
+
+ `bert_loss` : the loss that [pars-bert](https://huggingface.co/HooshvareLab/bert-base-parsbert-uncased) gives when inputting the `fluent_answer` to it. As it increases the sentence is more likely to be influent.
|
|
|
|
|
|
|
| 94 |
|
| 95 |
+
Note: the dataset is sorted increasingly by the `bert_loss`, so first sentences are more likely to be fluent.
|
| 96 |
|
| 97 |
### Data Splits
|
| 98 |
|
| 99 |
+
Currently, the dataset just provided the `train` split. There would be a `test` split soon.
|
| 100 |
|
| 101 |
## Dataset Creation
|
| 102 |
|