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

delete duplicated code #183

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Conversation

Yongtae723
Copy link
Contributor

Hi

I read almost all the code of setfit and found a few mistakes. so I send several PRs for each mistake.

First, there are duplicate codes.
Since batch_size is already defined in two lines above, I think this is no longer necessary.

Copy link
Member

@tomaarsen tomaarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lewtun lewtun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks for the fix!

@lewtun lewtun merged commit b66760c into huggingface:main Nov 23, 2022
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.

3 participants