Code Monkey home page Code Monkey logo

Comments (3)

jayeew avatar jayeew commented on June 7, 2024

你好,我参考您的代码实现了一遍,但是我预测不管是哪句话,结果都是PAD,请问怎么解决
你可以直接运行我的模型吗?不确定你的问题出在哪里,但我的网络结构因该是没有问题。我之前遇到过预测都是同一句话的问题(但不是PAD),后来发现是预料预处理编码时误差了一位,进而导致整个模型不能正常工作。所以,我建议你详细检查一下编码,比如EOS,BOS插入是否正确,encoder,decoder输入编码是否统一,编码有没有出现位移等。

from chinese-chatbot.

1535966643 avatar 1535966643 commented on June 7, 2024

你好,我参考您的代码实现了一遍,但是我预测不管是哪句话,结果都是PAD,请问怎么解决
你可以直接运行我的模型吗?不确定你的问题出在哪里,但我的因此,我之前遇到过预测都是同一句话的问题(但不是PAD),后来发现是预料预编码编码时误差了一位,且导致整个模型无法正常工作。所以,我建议你详细检查一下编码,是否EOS,BOS插入正确正确,编码器,解码器输入编码是否统一,编码有没有出现位移等。

好的,谢谢你。我先按照你的建议来检查一遍。抱歉我没有直接跑你的模型,但是里面的有很多参考,方便把您的qq联系方式给我吗,想请教您

from chinese-chatbot.

jayeew avatar jayeew commented on June 7, 2024

你好,我参考您的代码实现了一遍,但是我预测不管是哪句话,结果都是PAD,请问怎么解决
你可以直接运行我的模型吗?不确定你的问题出在哪里,但我的因此,我之前遇到过预测都是同一句话的问题(但不是PAD),后来发现是预料预编码编码时误差了一位,且导致整个模型无法正常工作。所以,我建议你详细检查一下编码,是否EOS,BOS插入正确正确,编码器,解码器输入编码是否统一,编码有没有出现位移等。

好的,谢谢你。我先按照你的建议来检查一遍。抱歉我没有直接跑你的模型,但是里面的有很多参考,方便把您的qq联系方式给我吗,想请教您

962326693

from chinese-chatbot.

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.