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

New base trainer #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

New base trainer #4

wants to merge 6 commits into from

Conversation

sunildkumar
Copy link
Member

@sunildkumar sunildkumar commented Feb 12, 2025

This works well.

…er token logps. Current implemention does not support flash attn yet .

- Update `_get_per_token_logps` method to support vision models with pixel values and image grid
- Modify generation and loss computation to handle vision-specific inputs
- Refactor code to improve readability and support multi-modal models
- Add pixel values and image grid parameters to various method signatures
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

Successfully merging this pull request may close these issues.

1 participant