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

propagating eval_batch_size to TrainingArguments #675

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

rahuljha
Copy link
Contributor

The script missed copying per_device_eval_batch_size to training_args, which makes it use the default size of 8 for eval_batch_size instead of 1 as set in this script. This PR fixes the issue by copying the per_device_eval_batch_size from script_args to training_args.

fixes #671

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Thanks!

@younesbelkada younesbelkada merged commit e9a4379 into huggingface:main Aug 23, 2023
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

kushal-tri pushed a commit to kushalarora/trl that referenced this pull request Sep 19, 2023
Co-authored-by: Rahul Jha <rahuljha@netflix.com>
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.

Tutorial script missing eval_batch_size
3 participants