Skip to content

[Bugfix] Check all responses when n>1 instead of only the first one#1197

Open
eldarkurtic wants to merge 1 commit intohuggingface:mainfrom
eldarkurtic:fix-empty-resps
Open

[Bugfix] Check all responses when n>1 instead of only the first one#1197
eldarkurtic wants to merge 1 commit intohuggingface:mainfrom
eldarkurtic:fix-empty-resps

Conversation

@eldarkurtic
Copy link
Copy Markdown
Contributor

When generating multiple completions (n>1 in sampling args), there might be cases when some of those completions have crashed/errored/etc and this breaks post-processing of results in lighteval as it attempts to compute metrics on empty responses. This is happening because the "non-emptiness check" is done only on the first completion, and not all of them.

Before this PR (sorry for screenshot; can provide full logs later if needed)
image

After this PR: post-processing and evals are completed correctly

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