File size: 3,302 Bytes
7124c28
645ca0b
 
 
7124c28
 
 
 
 
 
 
645ca0b
 
7124c28
 
 
 
 
 
 
 
 
 
3a075cb
 
 
227574d
3a075cb
 
cb0fc11
3a075cb
227574d
cb0fc11
3a075cb
cb0fc11
3a075cb
 
cb0fc11
3a075cb
cb0fc11
3a075cb
7124c28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
language:
- ko
- en
tags:
- bert
- korean-english
- clinical nlp
- pharmacovigilance
- adverse events
license: mit
base_model:
- skt/kobert-base-v1
---

# KAERS-BERT

## Model Description

KAERS-BERT is a domain-specific Korean BERT model specialized for clinical text analysis, particularly for processing adverse drug event (ADE) narratives. It was developed by pretraining KoBERT (developed by SK Telecom) using 1.2 million ADE narratives reported through the Korea Adverse Event Reporting System (KAERS) between January 2015 and December 2019.

The model is specifically designed to handle clinical texts where code-switching between Korean and English is frequent, making it particularly effective for processing medical terms and abbreviations in a bilingual context.

## Usage
You can load the model from HuggingFace Hub while using the local tokenizer:

```python
from transformers import BertForPreTraining
from tokenization_kobert import KoBERTTokenizer
```

# Load model from HuggingFace 
```python
model = BertForPreTraining.from_pretrained("kimsiun/kaers-bert-241101")
```

# Load tokenizer from local file
```python
tokenizer = KoBERTTokenizer.from_pretrained('skt/kobert-base-v1')
```

## Key Features

- Specialized in clinical and pharmaceutical domain text
- Handles Korean-English code-switching common in medical texts
- Optimized for processing adverse drug event narratives
- Built upon KoBERT architecture with domain-specific pretraining

## Training Data

The model was pretrained on:
- 1.2 million ADE narratives from KAERS
- Training data specifically focused on 'disease history in detail' and 'adverse event in detail' sections
- Masked language modeling with 15% token masking rate
- Maximum sequence length of 200
- Learning rate: 5×10^-5

## Performance

The model demonstrated strong performance in various NLP tasks related to drug safety information extraction:
- Named Entity Recognition (NER): 83.81% F1-score
- Sentence Extraction: 76.62% F1-score
- Relation Extraction: 64.37% F1-score (weighted)
- Label Classification:
  - 'Occurred' Label: 81.33% F1-score
  - 'Concerned' Label: 77.62% F1-score

When applied to the KAERS database, the model achieved an average increase of 3.24% in data completeness for structured data fields.

## Intended Use

This model is designed for:
- Extracting drug safety information from clinical narratives
- Processing Korean medical texts with English medical terminology
- Supporting pharmacovigilance activities
- Improving data quality in adverse event reporting systems

## Limitations

- The model is specifically trained on adverse event narratives and may not generalize well to other clinical domains
- Performance may vary for texts significantly different from KAERS narratives
- The model works best with Korean clinical texts containing English medical terminology

## Citation

```bibtex
@article{kim2023automatic,
  title={Automatic Extraction of Comprehensive Drug Safety Information from Adverse Drug Event Narratives in the Korea Adverse Event Reporting System Using Natural Language Processing Techniques},
  author={Kim, Siun and Kang, Taegwan and Chung, Tae Kyu and Choi, Yoona and Hong, YeSol and Jung, Kyomin and Lee, Howard},
  journal={Drug Safety},
  volume={46},
  pages={781--795},
  year={2023}