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

[Question]GLM-130B模型有vocab文件吗? #195

Open
starkhu opened this issue Jul 5, 2023 · 1 comment
Open

[Question]GLM-130B模型有vocab文件吗? #195

starkhu opened this issue Jul 5, 2023 · 1 comment

Comments

@starkhu
Copy link

starkhu commented Jul 5, 2023

请教一个问题:我在本仓库中貌似没有找到一个词典的文件(vocab.json),请教以下glm是怎么将输入文字处理成input_ids的?

这个问题找到答案了,使用icetk进行tokenizer,不需要vocab_file, icetk中有一个15w的词典。

@starkhu starkhu changed the title [请教]GLM-130B模型有vocab文件吗? [Question]GLM-130B模型有vocab文件吗? Jul 5, 2023
@starkhu
Copy link
Author

starkhu commented Jul 5, 2023

再请教另一个问题:configs文件夹下的几个脚本中都设置了"inner-hidden-size"这个参数,代码中没看到这个变量,请教一下这个参数的含义是什么?

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

1 participant