https://github.com/kyzhouhzau/attention_cnn
Relation Classification via Multi-Level Attention CNNs
https://github.com/kyzhouhzau/attention_cnn
Last synced: about 2 months ago
JSON representation
Relation Classification via Multi-Level Attention CNNs
- Host: GitHub
- URL: https://github.com/kyzhouhzau/attention_cnn
- Owner: kyzhouhzau
- Created: 2018-09-13T07:34:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-27T02:40:24.000Z (about 7 years ago)
- Last Synced: 2025-07-12T07:32:01.859Z (3 months ago)
- Language: Python
- Homepage:
- Size: 6.42 MB
- Stars: 5
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Relation Classification via Multi-Level Attention CNNs
## 这份代码用于实现以上这篇文章。
## 数据集 :SemEval-2010
## 框架: Tensorflow==1.9## 实践中发现当输入层使用了input——attention后效果反而变差,检查代码并没发现明显错误,希望有大神相助。
### 使用方法:
1. 训练模型:
bash run.sh2. 测试结果:
bash eval.sh
参考:https://github.com/FrankWork/acnn