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

显示可训练参数数量问题 #254

Open
xxll88 opened this issue Jun 24, 2023 · 0 comments
Open

显示可训练参数数量问题 #254

xxll88 opened this issue Jun 24, 2023 · 0 comments

Comments

@xxll88
Copy link

xxll88 commented Jun 24, 2023

用chatglm-6b 运行train.py,显示:
trainable params: 14680064 || all params: 3368640512 || trainable%: 0.4357860076700283
全部参数的数量不是6B,是什么原因?

微调完成后,运行 infer_lora_finetuning.py ,显示
trainable params: 6172532736 || all params: 6187212800 || trainable%: 99.7627354274933
全部参数的数量正确,但lora可训练参数 99%, 是什么原因?

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