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

Adds ignore_index to sequence parallel cross entropy #6882

Conversation

ronald-d-rogers
Copy link

@ronald-d-rogers ronald-d-rogers commented Dec 17, 2024

Simple change to add ignore_index to 100% integration w/ Hugging Face:
huggingface/transformers#35301

I also considered adding reduction here, and just returning loss.mean()/sum() accordingly. I can add that as well if you all thinks that makes sense.

@ronald-d-rogers
Copy link
Author

@microsoft-github-policy-service agree [company="Bloomberg Industry Group"]

@ronald-d-rogers
Copy link
Author

@microsoft-github-policy-service agree company="Bloomberg Industry Group"

@ronald-d-rogers
Copy link
Author

Hello all, after working on the integration more I no longer think this PR is needed. Sorry about that. Closing until further notice.

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.

4 participants