关系提取监督学习

时间:2021-02-16 03:53:40
【文件属性】:
文件名称:关系提取监督学习
文件大小:24.21MB
文件格式:ZIP
更新时间:2021-02-16 03:53:40
Perl 数据 [] 用法 下载并解压缩数据,并将其放入文件夹data 。 下载并解压缩StanfordCoreNLP并将其放入文件夹data 。 运行preprocess.py python3 preprocess.py 下载并解压单词嵌入,并将其放入文件夹embedding 。 运行convert.py python3 convert.py 运行run.py训练和测试模型。 python2 run.py 使用官方得分手检查最终的预测结果。 perl semeval2010_task8_scorer-v1.2.pl proposed_answer.txt predicted_result.txt >> result.txt 预测的标签位于文件predicted_result.txt 。 官方评估结果可在result.txt 。
【文件预览】:
relation-extraction-supervised-learning-main
----proposed_answer.txt(68KB)
----embedding()
--------convert.py(285B)
----predicted_result.txt(69KB)
----config.py(5KB)
----output()
--------Attention_CNN()
----utils.py(10KB)
----model.py(6KB)
----result.txt(10KB)
----run.py(4KB)
----LICENSE(1KB)
----README.md(1KB)
----train.log(4KB)
----data()
--------test.json(1.19MB)
--------relation2id.txt(473B)
--------preprocess.py(3KB)
--------SemEval2010_task8_all_data()
--------train.json(3.5MB)
----evaluate.py(3KB)
----semeval2010_task8_scorer-v1.2.pl(15KB)

网友评论