Hyeoni commited on
Commit
3af623d
ยท
1 Parent(s): e22b78b

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Question Generation Model with KorQuAD
2
+ ___
3
+
4
+ This model is a fine-tuend version of paust/pko-t5-base on the KorQuAD v1.0 Dataset.
5
+ Most ideas were inspired by [Leaf-Question-Generation](https://github.com/KristiyanVachev/Leaf-Question-Generation).
6
+
7
+ ### Dataset
8
+ KorQuAD v1.0 Dataset (csv)
9
+ [Train](https://drive.google.com/file/d/1p0LYPBQE8OW6XRFEW5nxc8P03wgD_plE/view?usp=sharing)
10
+ [Valid](https://drive.google.com/file/d/1O0-8BCsYn3PpEmIUjiEBnPz4sBBmQmud/view?usp=sharing)
11
+
12
+ ### Train
13
+
14
+ 30% ํ™•๋ฅ ๋กœ input answer ๋Œ€์‹  '[MASK]'๋ฅผ ๋„ฃ์–ด ์งˆ๋ฌธ ๋ฌธ์žฅ์„ ์ƒ์„ฑํ•˜๋„๋ก ํ•™์Šตํ•œ๋‹ค.
15
+ ๊ทธ ๊ฒฐ๊ณผ, input answer๊ฐ€ ์—†์„ ๋•Œ๋„ ์ ์ ˆํžˆ answer์„ ์ฐพ์•„ ์งˆ๋ฌธ์„ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ๋‹ค.
16
+
17
+ ### Question Generation without Input Answer
18
+
19
+ ```python
20
+ context = """ CONTEXT """"
21
+ input_answer = '[MASK]'
22
+
23
+ generated = generate(best_model, input_answer, context)
24
+
25
+ show_result(generated)
26
+ ```
27
+
28
+ ### References
29
+ ____
30
+ Leaf-Question-Generation :https://github.com/KristiyanVachev/Leaf-Question-Generation
31
+ pko-t5-base : https://huggingface.co/paust/pko-t5-base
32
+ KorQuAD v1.0 : https://korquad.github.io/KorQuad%201.0/
33
+