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

max_length和你们的训练脚本的不一致影响大吗 #149

Open
MichealZhangxa opened this issue Dec 5, 2024 · 7 comments
Open

max_length和你们的训练脚本的不一致影响大吗 #149

MichealZhangxa opened this issue Dec 5, 2024 · 7 comments

Comments

@MichealZhangxa
Copy link

我在训练qwen2_0.5B时候使用的max_length是3072,我看你们的训练脚本中使用的是2048,请问这对模型的最终效果影响大吗

@ZhangXJ199
Copy link
Collaborator

如果用的和我们一样的数据就没有影响 或者每条数据的token总数不超过max_length也没有影响

@MichealZhangxa
Copy link
Author

MichealZhangxa commented Dec 5, 2024 via email

@ZhangXJ199
Copy link
Collaborator

不会 max_length只是用于防止token序列过长

@MichealZhangxa
Copy link
Author

MichealZhangxa commented Dec 5, 2024 via email

@MichealZhangxa
Copy link
Author

MichealZhangxa commented Dec 5, 2024 via email

@ZhangXJ199
Copy link
Collaborator

可以进行实验探究一下 我们希望模型有更好的泛化性

@MichealZhangxa
Copy link
Author

可以进行实验探究一下 我们希望模型有更好的泛化性

好的,感谢

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