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
[array([0, 0, 0, 0], dtype=int32), array([0, 0, 0, 0], dtype=int32), array([8, 3, 5, 3], dtype=int32), array([7, 8, 2, 1], dtype=int32), array([6, 2, 10, 9], dtype=int32)] 其中的5个array,表示一句话的长度是5个词,而id,一般通过统计得出,一个id表示一个词,这个array和id到底是什么意思?我的理解,一个array应该代表一句话,每一个id都是句子里的词,但是为什么代码处理时array按列取数值作为encoder_inputs?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[array([0, 0, 0, 0], dtype=int32),
array([0, 0, 0, 0], dtype=int32),
array([8, 3, 5, 3], dtype=int32),
array([7, 8, 2, 1], dtype=int32),
array([6, 2, 10, 9], dtype=int32)]
其中的5个array,表示一句话的长度是5个词,而id,一般通过统计得出,一个id表示一个词,这个array和id到底是什么意思?我的理解,一个array应该代表一句话,每一个id都是句子里的词,但是为什么代码处理时array按列取数值作为encoder_inputs?
The text was updated successfully, but these errors were encountered: