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
你好,在elmo中,我看到输入的长度只是限制在200以内,但是每个句子的长度都不同,那么最后训练的向量的输出的形状是(batchsize, 200, dim)吗?在elmo中,是否允许padding以后的句子呢?如果允许,是不是就是以空格作为padding呢,我看tensorflow_hub中就是这样封装的。
The text was updated successfully, but these errors were encountered:
输入长度设置成语料中语句的Maxlen
Sorry, something went wrong.
你好,在elmo中,我看到输入的长度只是限制在200以内,但是每个句子的长度都不同,那么最后训练的向量的输出的形状是(batchsize, 200, dim)吗?在elmo中,是否允许padding以后的句子呢?如果允许,是不是就是以空格作为padding呢,我看tensorflow_hub中就是这样封装的。 输入长度设置成语料中语句的Maxlen
好的,非常感谢,我把你的输入长度打印了一下,发现你没有将句子padding成一个固定的长度,觉得有点疑惑
No branches or pull requests
你好,在elmo中,我看到输入的长度只是限制在200以内,但是每个句子的长度都不同,那么最后训练的向量的输出的形状是(batchsize, 200, dim)吗?在elmo中,是否允许padding以后的句子呢?如果允许,是不是就是以空格作为padding呢,我看tensorflow_hub中就是这样封装的。
The text was updated successfully, but these errors were encountered: