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

Use dataloader_drop_last in TF dataset #4925

merged 1 commit into from
Jun 11, 2020


Copy link

Follows PR #4757, fixes issue #4891. I didn't realize then that TFTrainingArguments inherited TrainingArguments and all of the same options would be available there as well.

Adding this to get to feature parity across PyTorch and TF trainers.

Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #4925 into master will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4925      +/-   ##
+ Coverage   77.10%   77.17%   +0.07%     
  Files         128      128              
  Lines       21723    21723              
+ Hits        16749    16765      +16     
+ Misses       4974     4958      -16     
Impacted Files Coverage Δ
src/transformers/ 19.04% <ø> (ø)
src/transformers/ 73.79% <0.00%> (ø)
src/transformers/ 90.61% <0.00%> (+0.11%) ⬆️
src/transformers/ 39.48% <0.00%> (+0.23%) ⬆️
src/transformers/ 78.65% <0.00%> (+2.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e80d6c6...a9099e0. Read the comment docs.

Copy link

LGTM from a quick glance but I'll let @jplu chime in

Copy link

jplu commented Jun 11, 2020

Nice! LGTM!!

@julien-c julien-c linked an issue Jun 11, 2020 that may be closed by this pull request
@julien-c julien-c merged commit 699541c into huggingface:master Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

🐛 [TFTrainer] dataloader_drop_last unused
3 participants