【文件属性】:
文件名称:ZS-BERT:论文“使用属性表示学习实现零关联关系提取”的正式实施。
文件大小:458KB
文件格式:ZIP
更新时间:2021-04-11 01:16:00
HTML
ZS-BERT
该存储库包含NAACL 2021论文“通过属性表示学习实现零关联关系提取”的实现。
数据集
您可以从以下链接下载在我们的工作中使用的数据集:
并将它们放在/data文件夹中。
结构
ZS-BERT/
├── model
├── model.py
├── data_helper.py
├── evaluation.py
├── train_wiki.py
└── train_fewrel.py
└── resources/
├── property_list.html
└── data/
├── wiki_train_new.json
└── fewrel_all.json
要求
python> = 3.6火炬> = 1.4.0或直接运行:
pip install -r requirements.txt
火
【文件预览】:
ZS-BERT-master
----model()
--------data_helper.py(7KB)
--------__pycache__()
--------evaluation.py(3KB)
--------train_fewrel.py(7KB)
--------train_wiki.py(7KB)
--------model.py(5KB)
----resources()
--------property_list.html(2.18MB)
----requirements.txt(107B)
----README.md(2KB)