Skip to content
New issue

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

请问哪里可修改句向量长度? #48

Open
ghm opened this issue Oct 21, 2019 · 1 comment
Open

请问哪里可修改句向量长度? #48

ghm opened this issue Oct 21, 2019 · 1 comment

Comments

@ghm
Copy link

ghm commented Oct 21, 2019

按照你的执行的句向量,但每次 [CLS]和[SEP]之间只能是3个字,如下:
INFO:tensorflow:tokens: [CLS] 话 说 今 [SEP]

请问如何修改长度?

@anotherchong
Copy link

args.py文件下,修改max_seq_len即可;
注意,需要删除tmp/result下的graph文件再运行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants