Comments (3)
你好,我参考您的代码实现了一遍,但是我预测不管是哪句话,结果都是PAD,请问怎么解决
你可以直接运行我的模型吗?不确定你的问题出在哪里,但我的网络结构因该是没有问题。我之前遇到过预测都是同一句话的问题(但不是PAD),后来发现是预料预处理编码时误差了一位,进而导致整个模型不能正常工作。所以,我建议你详细检查一下编码,比如EOS,BOS插入是否正确,encoder,decoder输入编码是否统一,编码有没有出现位移等。
from chinese-chatbot.
你好,我参考您的代码实现了一遍,但是我预测不管是哪句话,结果都是PAD,请问怎么解决
你可以直接运行我的模型吗?不确定你的问题出在哪里,但我的因此,我之前遇到过预测都是同一句话的问题(但不是PAD),后来发现是预料预编码编码时误差了一位,且导致整个模型无法正常工作。所以,我建议你详细检查一下编码,是否EOS,BOS插入正确正确,编码器,解码器输入编码是否统一,编码有没有出现位移等。
好的,谢谢你。我先按照你的建议来检查一遍。抱歉我没有直接跑你的模型,但是里面的有很多参考,方便把您的qq联系方式给我吗,想请教您
from chinese-chatbot.
你好,我参考您的代码实现了一遍,但是我预测不管是哪句话,结果都是PAD,请问怎么解决
你可以直接运行我的模型吗?不确定你的问题出在哪里,但我的因此,我之前遇到过预测都是同一句话的问题(但不是PAD),后来发现是预料预编码编码时误差了一位,且导致整个模型无法正常工作。所以,我建议你详细检查一下编码,是否EOS,BOS插入正确正确,编码器,解码器输入编码是否统一,编码有没有出现位移等。好的,谢谢你。我先按照你的建议来检查一遍。抱歉我没有直接跑你的模型,但是里面的有很多参考,方便把您的qq联系方式给我吗,想请教您
962326693
from chinese-chatbot.
Related Issues (20)
- PAPER HOT 4
- Cannot load weight HOT 3
- beam search 结果超出词表索引 HOT 2
- 这个可以直接训练英文语料么? HOT 2
- 你好,想搞一个虚拟恋人APP,不知道有没有兴趣加入?
- 项目问题 HOT 2
- 不加attention机制的model HOT 4
- very good HOT 1
- gpu HOT 1
- 无法运行 HOT 1
- 对新版库不兼容情况 HOT 3
- ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (105575,) + inhomogeneous part. HOT 1
- 怎么样更换语料库
- 作者数据处理之后把索引全加一了,有什么作用吗? HOT 1
- train by self HOT 4
- 我是小白 这个下载下来可以直接用吗 HOT 12
- 请问下这个怎么运行 HOT 5
- 误关了个issues HOT 2
- 运行到加载.h5时发生了错误,我想知道该怎么解决 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chinese-chatbot.