File size: 1,872 Bytes
2abd60c
 
baf42a4
 
36fa30a
 
 
3840cc7
 
36fa30a
 
 
 
 
 
 
 
 
 
 
 
 
3840cc7
36fa30a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
license: mit
language:
- ko
---

# Kconvo-roberta: Korean conversation RoBERTa ([github](https://github.com/HeoTaksung/Domain-Robust-Retraining-of-Pretrained-Language-Model))
- There are many PLMs (Pretrained Language Models) for Korean, but most of them are trained with written language.
- Here, we introduce a retrained PLM for prediction of Korean conversation data where we use verbal data for training.

## Usage
```python
# Kconvo-roberta
from transformers import RobertaTokenizerFast, RobertaModel

tokenizer_roberta = RobertaTokenizerFast.from_pretrained("yeongjoon/Kconvo-roberta")
model_roberta = RobertaModel.from_pretrained("yeongjoon/Kconvo-roberta")
```

-----------------
## Domain Robust Retraining of Pretrained Language Model

- Kconvo-roberta uses [klue/roberta-base](https://huggingface.co/klue/roberta-base) as the base model and retrained additionaly with the conversation dataset.
- The retrained dataset was collected through the [National Institute of the Korean Language](https://corpus.korean.go.kr/request/corpusRegist.do) and [AI-Hub](https://www.aihub.or.kr/aihubdata/data/list.do?pageIndex=1&currMenu=115&topMenu=100&dataSetSn=&srchdataClCode=DATACL001&srchOrder=&SrchdataClCode=DATACL002&searchKeyword=&srchDataRealmCode=REALM002&srchDataTy=DATA003), and the collected dataset is as follows.

```
- National Institute of the Korean Language
   * ์˜จ๋ผ์ธ ๋Œ€ํ™” ๋ง๋ญ‰์น˜ 2021
   * ์ผ์ƒ ๋Œ€ํ™” ๋ง๋ญ‰์น˜ 2020
   * ๊ตฌ์–ด ๋ง๋ญ‰์น˜
   * ๋ฉ”์‹ ์ € ๋ง๋ญ‰์น˜

- AI-Hub
   * ์˜จ๋ผ์ธ ๊ตฌ์–ด์ฒด ๋ง๋ญ‰์น˜ ๋ฐ์ดํ„ฐ
   * ์ƒ๋‹ด ์Œ์„ฑ
   * ํ•œ๊ตญ์–ด ์Œ์„ฑ
   * ์ž์œ ๋Œ€ํ™” ์Œ์„ฑ(์ผ๋ฐ˜๋‚จ์—ฌ)
   * ์ผ์ƒ์ƒํ™œ ๋ฐ ๊ตฌ์–ด์ฒด ํ•œ-์˜ ๋ฒˆ์—ญ ๋ณ‘๋ ฌ ๋ง๋ญ‰์น˜ ๋ฐ์ดํ„ฐ
   * ํ•œ๊ตญ์ธ ๋Œ€ํ™”์Œ์„ฑ
   * ๊ฐ์„ฑ ๋Œ€ํ™” ๋ง๋ญ‰์น˜
   * ์ฃผ์ œ๋ณ„ ํ…์ŠคํŠธ ์ผ์ƒ ๋Œ€ํ™” ๋ฐ์ดํ„ฐ
   * ์šฉ๋„๋ณ„ ๋ชฉ์ ๋Œ€ํ™” ๋ฐ์ดํ„ฐ
   * ํ•œ๊ตญ์–ด SNS
```