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 about training data mixture. (训练数据混合问题) #30

Open
JLM-Z opened this issue Dec 10, 2024 · 0 comments
Open

Question about training data mixture. (训练数据混合问题) #30

JLM-Z opened this issue Dec 10, 2024 · 0 comments

Comments

@JLM-Z
Copy link

JLM-Z commented Dec 10, 2024

Does each mini-batch include both multimodal understanding and image generation data? In this code, will the LLM loss turn NaN due to the absence of multimodal understanding data in a mini-batch?
What to do when a mini-batch only contains single modality data?

当单卡上的数据全为一种模态时(比如只有image generation 模态的数据),llm loss会变成nan,请问这个情况怎么处理?
这种不平衡的mini-batch data是否会影响模型的效果?

@JLM-Z JLM-Z changed the title Question about training data mixture. (关于训练时数据混合的问题) Question about training data mixture. (训练数据混合问题) Dec 10, 2024
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