transformers
TF/Numpy variants for all DataCollator classes
#13105
Merged

TF/Numpy variants for all DataCollator classes #13105

Rocketknight1 merged 36 commits into master from tf_data_collators
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from LysandreJik LysandreJik 4 years ago
Rocketknight1 Rocketknight1 requested a review from sgugger sgugger 4 years ago
sgugger
sgugger approved these changes on 2021-08-12
sgugger
sgugger approved these changes on 2021-08-12
sgugger
sgugger commented on 2021-08-13
Rocketknight1
Rocketknight1 Rocketknight1 changed the title Adding a TF variant of the DataCollatorForTokenClassification TF/Numpy variants for all DataCollator classes 4 years ago
Rocketknight1
sgugger
sgugger approved these changes on 2021-08-30
sgugger
sgugger commented on 2021-08-30
Rocketknight1 Adding a TF variant of the DataCollatorForTokenClassification to get …
6775d6d3
Rocketknight1 Added a Numpy variant and a post_init check to fail early if a missin…
0ae2587b
Rocketknight1 Fixed call to Numpy variant
d577ac9f
Rocketknight1 Added a couple more of the collators
346a6461
Rocketknight1 Update src/transformers/data/data_collator.py
33dbb29d
Rocketknight1 Fixes, style pass, finished DataCollatorForSeqToSeq
70168b57
Rocketknight1 Added all the LanguageModeling DataCollators, except SOP and Permutat…
050208b1
Rocketknight1 Adding DataCollatorForPermutationLanguageModeling
ce8dcc32
Rocketknight1 Style pass
dda89060
Rocketknight1 Add missing `__call__` for PLM
f81068b0
Rocketknight1 Remove `post_init` checks for frameworks because the imports inside t…
abf83257
Rocketknight1 Remove unused imports
52cf8286
Rocketknight1 First attempt at some TF tests
4b823f92
Rocketknight1 A second attempt to make any of those tests actually work
6cf757a7
Rocketknight1 TF tests, round three
6db05c6f
Rocketknight1 TF tests, round four
212b6e0f
Rocketknight1 TF tests, round five
dbb38488
Rocketknight1 TF tests, all enabled!
2d59e3dc
Rocketknight1 Style pass
eed3c889
Rocketknight1 Merging tests into `test_data_collator.py`
3616216f
Rocketknight1 Merging tests into `test_data_collator.py`
f4137170
Rocketknight1 Fixing up test imports
71cb01c9
Rocketknight1 Fixing up test imports
984496d4
Rocketknight1 Trying shuffling the conditionals around
d9b16f7d
Rocketknight1 Commenting out non-functional old tests
e1975bd2
Rocketknight1 Completed all tests for all three frameworks
1616c6f4
Rocketknight1 Style pass
e57a75b5
Rocketknight1 Fixed test typo
9b654d9d
Rocketknight1 Style pass
95b0ddc0
Rocketknight1 Move standard `__call__` method to mixin
472f74ba
Rocketknight1 Rearranged imports for `test_data_collator`
57910285
Rocketknight1 Fix data collator typo "torch" -> "pt"
582a95cb
Rocketknight1 Fixed the most embarrassingly obvious bug
4b9cfb52
Rocketknight1 Rocketknight1 force pushed to 4b9cfb52 4 years ago
Rocketknight1 Update src/transformers/data/data_collator.py
dc58c697
Rocketknight1 Renaming mixin
375c3162
Rocketknight1 Updating docs
28606ece
LysandreJik
LysandreJik approved these changes on 2021-08-31
Rocketknight1
sdwalker62
Rocketknight1
aromans
Rocketknight1 Rocketknight1 merged 854260ca into master 4 years ago
Rocketknight1 Rocketknight1 deleted the tf_data_collators branch 4 years ago
Rocketknight1

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone