# Att-BLSTM-relation-extraction
[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/attention-based-bidirectional-long-short-term/relation-extraction-on-semeval-2010-task-8)](https://paperswithcode.com/sota/relation-extraction-on-semeval-2010-task-8?p=attention-based-bidirectional-long-short-term)
Implementation of [Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification](https://www.aclweb.org/anthology/P16-2034.pdf).
## Environment Requirements
* python 3.6
* pytorch 1.3.0
## Data
* [SemEval2010 Task8](https://drive.google.com/file/d/0B_jQiLugGTAkMDQ5ZjZiMTUtMzQ1Yy00YWNmLWJlZDYtOWY1ZDMwY2U4YjFk/view?sort=name&layout=list&num=50) \[[paper](https://www.aclweb.org/anthology/S10-1006.pdf)\]
* [glove.6B.100d.txt](https://nlp.stanford.edu/projects/glove/)
## Usage
1. Download the embedding and decompress it into the `embedding` folder.
2. Run the following the commands to start the program.
```shell
python run.py
```
More details can be seen by `python run.py -h`.
3. You can use the official scorer to check the final predicted result.
```shell
perl semeval2010_task8_scorer-v1.2.pl proposed_answer.txt predicted_result.txt >> result.txt
```
## Result
The result of my version and that in paper are present as follows:
| paper | my version |
| :------: | :------: |
| 0.840 | 0.8313 |
The training log can be seen in `train.log` and the official evaluation results is available in `result.txt`.
*Note*:
* Some settings may be different from those mentioned in the paper.
* No validation set used during training.
## Reference Link
没有合适的资源?快使用搜索试试~ 我知道了~
Atten-Bilstm relation pytorch 代码
共68个文件
txt:34个
pdf:10个
xml:6个
需积分: 13 0 下载量 111 浏览量
2022-11-21
23:52:26
上传
评论
收藏 156.54MB ZIP 举报
温馨提示
Atten-Bilstm relation-extraction pytorch 代码
资源推荐
资源详情
资源评论
收起资源包目录
Att-BLSTM-relation-extraction.zip (68个子文件)
Att-BLSTM-relation-extraction-master
predicted_result.txt 70KB
proposed_answer.txt 68KB
utils.py 5KB
data
SemEval2010_task8_all_data
SemEval2010_task8_testing
README.txt 6KB
TEST_FILE.txt 341KB
SEMEVAL_TASK8_FULL_RELEASE_README.txt 736B
SemEval2010_task8_scorer-v1.2
README.txt 4KB
result_scores2.txt 11KB
answer_key2.txt 203KB
proposed_answer4.txt 133B
proposed_answer3.txt 146B
proposed_answer1.txt 652B
proposed_answer5.txt 77B
result_scores5.txt 3KB
answer_key3.txt 219B
semeval2010_task8_format_checker.pl 3KB
answer_key1.txt 951B
result_scores1.txt 9KB
proposed_answer2.txt 202KB
semeval2010_task8_scorer-v1.2.pl 15KB
answer_key5.txt 137B
result_scores3.txt 6KB
SemEval2010_task8_training
README.txt 6KB
Task8_Relation4.pdf 89KB
TRAIN_DISTRIB.TXT 1KB
Task8_Guidelines.pdf 131KB
Task8_Relation2.pdf 102KB
TRAIN_FILE.TXT 1.33MB
Task8_Relation1.pdf 102KB
Task8_Relation9.pdf 81KB
Task8_Relation5.pdf 104KB
TRAIN_TEST_DISTRIB.TXT 2KB
Task8_Relation3.pdf 99KB
Task8_Relation8.pdf 91KB
Task8_Relation6.pdf 90KB
Task8_Relation7.pdf 90KB
SemEval2010_task8_testing_keys
TEST_FILE_CLEAN.TXT 341KB
TEST_FILE_FULL.TXT 463KB
TEST_FILE_KEY.TXT 55KB
test.json 763KB
TRAIN_FILE.TXT 1.33MB
SemEval2010_task8_all_data.zip 1.87MB
train.json 2.2MB
TEST_FILE_FULL.TXT 463KB
README.md 287B
relation2id.txt 473B
result.txt 10KB
output
Att_BLSTM
config.json 348B
LICENSE 1KB
run.py 4KB
evaluate.py 3KB
.idea
Att-BLSTM-relation-extraction-master.iml 551B
misc.xml 194B
deployment.xml 627B
modules.xml 499B
workspace.xml 9KB
.gitignore 184B
inspectionProfiles
Project_Default.xml 2KB
profiles_settings.xml 174B
train.log 4KB
model.py 3KB
embedding
mini.txt 2KB
glove.6B.50d.txt 163.41MB
hlbl-embeddings-scaled.EMBEDDING_SIZE=50.txt 193.96MB
pre_embedding.txt 16KB
config.py 5KB
semeval2010_task8_scorer-v1.2.pl 15KB
README.md 2KB
共 68 条
- 1
资源评论
goodfate_and_fortune
- 粉丝: 5
- 资源: 40
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 锄战三国村 修改:货币使用不减 v1.10(2) 原创 (中文).apk
- 基于python实现的单目双目视觉三维重建+源代码+图像图片(高分课程设计)
- 基于C+++OPENCV的全景图像拼接源码(课程设计)
- 基于Python+OpenCV对多张图片进行全景图像拼接,消除鬼影,消除裂缝+源代码+文档说明+界面截图(高分课程设计)
- 基于C++实现的全景图像拼接源码(课程设计)
- 基于SIFT特征点提取和RASIC算法实现全景图像拼接python源码+文档说明+界面截图+详细注释(95分以上课程大作业)
- 基于matlab实现眼部判别的疲劳检测系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的异常姿势识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 隐藏文件展示工具,用来展示被病毒隐藏的文件
- 基于Matlab的图像分割系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功