프로젝트
GitHub에서 보기
nlpcl-lab/bert-event-extraction
소개
ACE 2005 코퍼스에서 BERT를 사용해 이벤트 추출 작업을 수행하는 PyTorch 솔루션입니다.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalbert-event-extraction
Pytorch Solution of Event Extraction Task using BERT on ACE 2005 corpus
Prerequisites
Prepare ACE 2005 dataset.
Use nlpcl-lab/ace2005-preprocessing to preprocess ACE 2005 dataset in the same format as the data/sample.json. Then place it in the data directory as follows:
├── data │ └── test.json │ └── dev.json │ └── train.json │...Install the packages.
pip install pytorch==1.0 pytorch_pretrained_bert==0.6.1 numpy
Usage
Train
python train.py
Evaluation
python eval.py --model_path=latest_model.pt
Result
Performance
| Method | Trigger Classification (%) | Argument Classification (%) | ||||
|---|---|---|---|---|---|---|
| Precision | Recall | F1 | Precision | Recall | F1 | |
| JRNN | 66.0 | 73.0 | 69.3 | 54.2 | 56.7 | 55.5 |
| JMEE | 76.3 | 71.3 | 73.7 | 66.8 | 54.9 | 60.3 |
| This model (BERT base) | 63.4 | 71.1 | 67.7 | 48.5 | 34.1 | 40.0 |
The performance of this model is low in argument classification even though pretrained BERT model was used. The model is currently being updated to improve the performance.
Reference
관련 프로젝트 살펴보기
불러오는 중…