voidful commited on
Commit
cc10aa7
1 Parent(s): c6449df

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ tags:
4
+ - bart
5
+ - question
6
+ - generation
7
+ - seq2seq
8
+ datasets:
9
+ - unifiedQA
10
+ metrics:
11
+ - bleu
12
+ - rouge
13
+ pipeline_tag: text2text-generation
14
+ widget:
15
+ - text: "Harry Potter is a series of seven fantasy novels written by British author J. K. Rowling. The novels chronicle the lives of a young wizard, Harry Potter, and his friends Hermione Granger and Ron Weasley, all of whom are students at Hogwarts School of Witchcraft and Wizardry. The main story arc concerns Harry's struggle against Lord Voldemort, a dark wizard who intends to become immortal, overthrow the wizard governing body known as the Ministry of Magic and subjugate all wizards and Muggles(non-magical people)."
16
+ ---
17
+ # context-only-question-generator
18
+
19
+ ## Model description
20
+
21
+ This model is a sequence-to-sequence question generator which takes context as an input, and generates a question as an output.
22
+ It is based on a pretrained `bart-base` model.
23
+
24
+ #### How to use
25
+
26
+ Inputs should be organised into the following format:
27
+ ```
28
+ context
29
+ ```
30
+ The input sequence can then be encoded and passed as the `input_ids` argument in the model's `generate()` method.