Skip to content

Fix typo in few_shots_select option error message ("fbalanced" → "balanced")#1111

Merged
NathanHB merged 1 commit intohuggingface:mainfrom
jayminban:fix-fbalanced-typo
Jan 14, 2026
Merged

Fix typo in few_shots_select option error message ("fbalanced" → "balanced")#1111
NathanHB merged 1 commit intohuggingface:mainfrom
jayminban:fix-fbalanced-typo

Conversation

@jayminban
Copy link
Copy Markdown
Contributor

This PR fixes a typo in the few_shots_select error message where "fbalanced" was displayed instead of "balanced".

Before:"ValueError: few_shots_select must be one of fbalanced,random,sequential,random_sampling_from_train or random_sampling, ..."

After:"ValueError: few_shots_select must be one of balanced,random,sequential,random_sampling_from_train or random_sampling, ..."

This change corrects the spelling and improves error clarity when an invalid few_shots_select option is provided.

No functional behavior changes, only error message text is updated.

@bot-ci-comment
Copy link
Copy Markdown

bot-ci-comment Bot commented Jan 6, 2026

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@NathanHB NathanHB merged commit 6ce93d5 into huggingface:main Jan 14, 2026
4 checks passed
rolshoven pushed a commit to rolshoven/lighteval that referenced this pull request Mar 17, 2026
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.

2 participants