Code Monkey home page Code Monkey logo

textmatch's Issues

关于cnn+attention

看了下您博客中有关cnn+attention的代码,原地址https://blog.csdn.net/u014365862/article/details/78495870,
发现一个问题

attention层的输入在代码中是rnn的隐态 outputs=ht
然后把outputs输入到attention中,最后学习到一个权重再施加到outputs上

但是,attention层的输入不应该是cnn的特征和rnn的隐态么,学习到的权重施加在cnn特征上,而不是隐态上。
不知道我的理解有没有问题,期待您的回答,谢谢!

网络结构?

大佬,你搭建的这几个网络不都是CNN吗?我怎么没找到CNN-RNN的结构?

如何使用GPU加速训练和计算大语料的句子相似度?

大佬你好!你的这个项目很不错!我这里有个小问题,希望得到你的帮助。

我已经跑通了bert和albert的训练文件(train_model文件夹下的train_bert.py和train_albert.py),但是我发现训练和测试的时候都是使用的cpu。如果我想用GPU进行训练和测试需要做什么修改呢?谢谢!

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.