Coder Social home page Coder Social logo

dataset about asgcn HOT 9 CLOSED

genezc avatar genezc commented on August 27, 2024
dataset

from asgcn.

Comments (9)

GeneZC avatar GeneZC commented on August 27, 2024

建议参考 https://github.com/howardhsu/ABSA_preprocessing

from asgcn.

azaitangqiao avatar azaitangqiao commented on August 27, 2024

graph,tree文件是怎么得来的

from asgcn.

GeneZC avatar GeneZC commented on August 27, 2024

@azaitangqiao plz refer to dependency_graph.py and dependency_tree.py.

from asgcn.

azaitangqiao avatar azaitangqiao commented on August 27, 2024

thanks you

from asgcn.

wanghuahua2019 avatar wanghuahua2019 commented on August 27, 2024

谢谢啦

from asgcn.

azaitangqiao avatar azaitangqiao commented on August 27, 2024

denom = torch.sum(adj, dim=2, keepdim=True) + 1
output = torch.matmul(adj, hidden) / denom,这里对输出的值除以度数的原因是?

from asgcn.

GeneZC avatar GeneZC commented on August 27, 2024

@azaitangqiao 做一个归一化

from asgcn.

azaitangqiao avatar azaitangqiao commented on August 27, 2024

为什么呢,原因是什么,是因为output = torch.matmul(adj, hidden) 这里的output的值太大了吗?还是学习了Dot-product-attention里面除以一个根号下dk的操作。

from asgcn.

GeneZC avatar GeneZC commented on August 27, 2024

@azaitangqiao 是的,原理类似。

from asgcn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.