Hyeoni's picture
Update README.md
cbbbde9
|
raw
history blame
1.01 kB
# 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/