add README.md
Browse files
README.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
###Datasets:
|
3 |
+
- squad_v2 (with the removal of unanswerable questions)
|
4 |
+
|
5 |
+
###Question-generation
|
6 |
+
Input text in the following format:
|
7 |
+
- text: "\<hl> 42 \<hl> is the answer to life, the universe and everything. </s>"
|
8 |
+
- text: "Python is a programming language. It is developed by \<hl> Guido Van Rossum \<hl>. </s>"
|
9 |
+
- text: "Although \<hl> practicality \<hl> beats purity \</s>"
|
10 |
+
|
11 |
+
---
|
12 |
+
|
13 |
+
### T5 for question-generation
|
14 |
+
This is [t5-base](https://arxiv.org/abs/1910.10683) model trained for answer aware question generation task. The answer spans are highlighted within the text with special highlight tokens.
|
15 |
+
|
16 |
+
You can play with the model using the inference API, just highlight the answer spans with `<hl>` tokens and end the text with `</s>`. For example
|
17 |
+
|
18 |
+
`<hl> 42 <hl> is the answer to life, the universe and everything. </s>`
|
19 |
+
|
20 |
+
For more deatils see [this](https://github.com/patil-suraj/question_generation) repo.
|