We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M3FEND/models/mdfend.py
Line 51 in f16b29d
The text was updated successfully, but these errors were encountered:
嗯,你指出的是对的,估计是做消融实验的时候改错文件了,不过对结果没影响,结果都是从MDFEND原文里粘贴过来的。
Sorry, something went wrong.
,结果都是从MDFEND原文里粘贴过来的
你好,请问你们后来改正了这一错误吗?
No branches or pull requests
M3FEND/models/mdfend.py
Line 51 in f16b29d
你好,这里对bert编码后的文本进行self.attention得到了句子表示,按照MDFEND模型,这个句子表示要和domain_embedding聚合,然后再输入到第55行的self.gate,进而得到gate_value.
但这里的编程实现好像直接仅仅把domain_embedding输入到了gate中.
关于模型参考了这篇文章(https://mp.weixin.qq.com/s/_nU0TQewz4u7a20lspNN9A)
The text was updated successfully, but these errors were encountered: