Update README.md
Browse files
README.md
CHANGED
@@ -9,9 +9,16 @@ license: mit
|
|
9 |
|
10 |
# Question Generation Model
|
11 |
|
|
|
|
|
|
|
|
|
12 |
## Fine-tuning Dataset
|
13 |
|
14 |
SQuAD 1.1
|
|
|
|
|
|
|
15 |
|
16 |
## Demo
|
17 |
|
@@ -29,7 +36,7 @@ model = T5ForConditionalGeneration.from_pretrained('Sehong/t5-large-QuestionGene
|
|
29 |
|
30 |
# tokenized
|
31 |
'''
|
32 |
-
text = "answer:Saint Bern ##ade ##tte So ##ubi ##rous
|
33 |
'''
|
34 |
|
35 |
text = "answer:Saint Bernadette Soubirous content:Architecturally , the school has a Catholic character . Atop the Main Building ' s gold dome is a golden statue of the Virgin Mary . Immediately in front of the Main Building and facing it , is a copper statue of Christ with arms upraised with the legend "" Venite Ad Me Omnes "" . Next to the Main Building is the Basilica of the Sacred Heart . Immediately behind the basilica is the Grotto , a Marian place of prayer and reflection . It is a replica of the grotto at Lourdes , France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858 . At the end of the main drive ( and in a direct line that connects through 3 statues and the Gold Dome ) , is a simple , modern stone statue of Mary ."
|
|
|
9 |
|
10 |
# Question Generation Model
|
11 |
|
12 |
+
## Github
|
13 |
+
|
14 |
+
https://github.com/Seoneun/T5-Question-Generation
|
15 |
+
|
16 |
## Fine-tuning Dataset
|
17 |
|
18 |
SQuAD 1.1
|
19 |
+
Train Data: 75,722
|
20 |
+
Dev Data: 10,570
|
21 |
+
Test Data: 11,877
|
22 |
|
23 |
## Demo
|
24 |
|
|
|
36 |
|
37 |
# tokenized
|
38 |
'''
|
39 |
+
text = "answer:Saint Bern ##ade ##tte So ##ubi ##rous content:Architectural ##ly , the school has a Catholic character . At ##op the Main Building ' s gold dome is a golden statue of the Virgin Mary . Immediately in front of the Main Building and facing it , is a copper statue of Christ with arms up ##rai ##sed with the legend "" V ##eni ##te Ad Me O ##m ##nes "" . Next to the Main Building is the Basilica of the Sacred Heart . Immediately behind the b ##asi ##lica is the G ##rot ##to , a Marian place of prayer and reflection . It is a replica of the g ##rot ##to at Lou ##rdes , France where the Virgin Mary reputed ##ly appeared to Saint Bern ##ade ##tte So ##ubi ##rous in 1858 . At the end of the main drive ( and in a direct line that connects through 3 statues and the Gold Dome ) , is a simple , modern stone statue of Mary ."
|
40 |
'''
|
41 |
|
42 |
text = "answer:Saint Bernadette Soubirous content:Architecturally , the school has a Catholic character . Atop the Main Building ' s gold dome is a golden statue of the Virgin Mary . Immediately in front of the Main Building and facing it , is a copper statue of Christ with arms upraised with the legend "" Venite Ad Me Omnes "" . Next to the Main Building is the Basilica of the Sacred Heart . Immediately behind the basilica is the Grotto , a Marian place of prayer and reflection . It is a replica of the grotto at Lourdes , France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858 . At the end of the main drive ( and in a direct line that connects through 3 statues and the Gold Dome ) , is a simple , modern stone statue of Mary ."
|