BERT-Event-Extraction
BERT-Event-Extraction copied to clipboard
使用bert进行事件抽取。
数据集获取
博主您好,请问数据集在哪里获取
origin_data文件下,下载放置了duee_dev/duee_event_schema/duee_test2/duee_train四个json文件;运行了process.py文件后,ner_data文件下有dev/train/label.txt。re_data文件下有dev/train/rels三个txt文本
您好,我注意到 您之前的工作中https://github.com/taishan1994/pytorch_bert_event_extraction 写道“要预先下载好[chinese-roberta-wwm-ext](https://huggingface.co/hfl/chinese-roberta-wwm-ext/tree/main)模型,并在运行时指定模型的位置。 已经训练好的模型:放在checkpoints下 链接:https://pan.baidu.com/s/1b5cqkjRH4uejO5h_587oGw 提取码:funk” 在这个项目中,也可以直接使用chinese-roberta-wwm-ext和您提供的checkpoints吗
请问下支持多事件的预测吗,我看标注的训练数据里面是有多个事件,但是在测试的时候都测试不出,请问下这个算法支持吗
if global_step % self.save_step: 这么写岂不是每一步都在保存了 是不是想写 if global_step % self.save_step == 0: