Giter Club home page Giter Club logo

Comments (4)

yangheng95 avatar yangheng95 commented on June 12, 2024

MHSA在

sa_out = self.bert_SA(cat_out)
pooled_out = self.pooler(sa_out)

里实现,MHSA编码前会用linear层改变拼接向量的维度。

from lcf-atepc.

BaoChunxiao avatar BaoChunxiao commented on June 12, 2024

188行的sa_out = self.bert_SA(cat_out) 我看到了,因为在paper的 3.5. Feature Interactive Learning 里也出现了一个MHSA层(如下图),我理解188行的MHSA是3.5节的实现。
微信截图_20200304151335

难道 3.4.2. Context-features Dynamic Mask 里的MHSA 和3.5节里的MHSA是一个意思吗?

from lcf-atepc.

yangheng95 avatar yangheng95 commented on June 12, 2024

你好,这两个MHSA是相同的编码器结构,但是不是同一个。这部分代码我会尽快修复,如果方便的话您也可以帮助发起PR为拼接后的向量添加MHSA编码操作,非常感谢

from lcf-atepc.

Astudnew avatar Astudnew commented on June 12, 2024

Why use MHSA two times in section 3.5. Feature Interactive Learning and (section 3.4.2 or 3.4.2) what is the role of MHSA in each layer?

from lcf-atepc.

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.