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

Fix get_scores_dicts for non-initial attr_pos_start #187

Merged
merged 1 commit into from
May 26, 2023

Conversation

gsarti
Copy link
Member

@gsarti gsarti commented May 26, 2023

Description

Fixes exporting get_scores_dicts for generations starting at non-initial positions (i.e. when attr_pos_start != 0, like for decoder-only models), reported broken by #185

Type of Change

  • 🔧 Bug fix (non-breaking change which fixes an issue)

@gsarti gsarti linked an issue May 26, 2023 that may be closed by this pull request
@gsarti gsarti added the bug Something isn't working label May 26, 2023
@gsarti gsarti added this to the v0.5 milestone May 26, 2023
@gsarti gsarti merged commit 12f3592 into main May 26, 2023
@gsarti gsarti deleted the get_scores_dicts-bug branch May 26, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug about get_scores_dicts() function
1 participant