Comments (9)
建议参考 https://github.com/howardhsu/ABSA_preprocessing
from asgcn.
graph,tree文件是怎么得来的
from asgcn.
@azaitangqiao plz refer to dependency_graph.py and dependency_tree.py.
from asgcn.
thanks you
from asgcn.
谢谢啦
from asgcn.
denom = torch.sum(adj, dim=2, keepdim=True) + 1
output = torch.matmul(adj, hidden) / denom,这里对输出的值除以度数的原因是?
from asgcn.
@azaitangqiao 做一个归一化
from asgcn.
为什么呢,原因是什么,是因为output = torch.matmul(adj, hidden) 这里的output的值太大了吗?还是学习了Dot-product-attention里面除以一个根号下dk的操作。
from asgcn.
@azaitangqiao 是的,原理类似。
from asgcn.
Related Issues (20)
- 关于损失函数的问题 HOT 2
- 我在LAP14数据集上用ASCNN模型得出的结果远高于您在论文中给出的结果。 HOT 8
- left_indices HOT 1
- 迭代三次模型,指标一次不如一次? HOT 8
- 生成图 HOT 2
- 针对SemEval2014数据集的疑惑 HOT 2
- 输入模型的文本长度 HOT 1
- 关于源码中的.graph文件 HOT 1
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED HOT 1
- 数据集中可能有一些错误 HOT 4
- 想请教作者,第一版的asgcn(2年前发布的asgcn)中.graph生成文件使用的spacy版本和en_core_web_sm版本分别是多少? HOT 2
- 模型分享请求 HOT 1
- 你好我想请教一下为什么要用mask? HOT 1
- 项目中的.graph文件和.tree文件 HOT 1
- left_indices是指哪一部分的输入呢? HOT 4
- How should I change the data?
- 您好,请问论文里的那个注意力可视化的那个彩色的表(Table 4)是怎么画的呀? HOT 2
- 请问您论文那个图4 关于方面的个数的数据是怎么分的呢? HOT 1
- When I changed the network to "ASCNN", the following error appeared when running train.py, how to solve it? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asgcn.