Bert-Chinese-RE icon indicating copy to clipboard operation
Bert-Chinese-RE copied to clipboard

bert实现中文关系抽取

Version

python3
pytorch>=1.4

Installation

pip install transformers

How to train the model

python main.py --do_train --eval
#我们可以使用official_eval.py对SemEval-2010-task-8数据集进行测试

to do

add the prediction

References