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] transformers集成中可能存在参数未正常记录的问题 #702

Closed
ShaohonChen opened this issue Sep 10, 2024 · 4 comments · Fixed by #704
Closed

[QUESTION] transformers集成中可能存在参数未正常记录的问题 #702

ShaohonChen opened this issue Sep 10, 2024 · 4 comments · Fixed by #704
Assignees
Labels
🙋 help wanted Extra attention is needed

Comments

@ShaohonChen
Copy link
Contributor

image

需要检查下是否能够在model的config中使用to_dict()函数来获得模型参数

@ShaohonChen ShaohonChen added the 🙋 help wanted Extra attention is needed label Sep 10, 2024
@ShaohonChen ShaohonChen self-assigned this Sep 10, 2024
@ShaohonChen
Copy link
Contributor Author

似乎也会引起潜在bug

@ShaohonChen
Copy link
Contributor Author

image

@ShaohonChen ShaohonChen reopened this Sep 10, 2024
@ShaohonChen
Copy link
Contributor Author

@SAKURA-CAT 能否帮我看看这个可能是什么引起的呢

@SAKURA-CAT SAKURA-CAT mentioned this issue Sep 19, 2024
@SAKURA-CAT
Copy link
Contributor

transformer的IntervalStrategy枚举类继承了str,绕过了swanlab的config对象检查:

image

此时直接将原对象返回,这是不可以的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants