| # Question Generation Model with KorQuAD |
| ___ |
| |
| This model is a fine-tuend version of paust/pko-t5-base on the KorQuAD v1.0 Dataset. |
| |
| ### Dataset |
| KorQuAD v1.0 Dataset (csv) |
| [Train](https://drive.google.com/file/d/1p0LYPBQE8OW6XRFEW5nxc8P03wgD_plE/view?usp=sharing) |
| [Valid](https://drive.google.com/file/d/1O0-8BCsYn3PpEmIUjiEBnPz4sBBmQmud/view?usp=sharing) |
| |
| ### Train |
| |
| 30% ํ๋ฅ ๋ก input answer ๋์ '[MASK]'๋ฅผ ๋ฃ์ด ์ง๋ฌธ ๋ฌธ์ฅ์ ์์ฑํ๋๋ก ํ์ตํ๋ค. |
| ๊ทธ ๊ฒฐ๊ณผ, input answer๊ฐ ์์ ๋๋ ์ ์ ํ answer์ ์ฐพ์ ์ง๋ฌธ์ ์์ฑํ ์ ์๋ค. |
| |
| ### Question Generation without Input Answer |
| |
| ```python |
| context = """ CONTEXT """ |
| input_answer = '[MASK]' |
| |
| generated = generate(best_model, input_answer, context) |
| |
| show_result(generated) |
| ``` |
| |
| ### References |
| ____ |
| Leaf-Question-Generation :https://github.com/KristiyanVachev/Leaf-Question-Generation |
| pko-t5-base : https://huggingface.co/paust/pko-t5-base |
| KorQuAD v1.0 : https://korquad.github.io/KorQuad%201.0/ |
|
|
|
|