transformers
Adding new train_step logic to make things less confusing for users
#15994
Merged

Adding new train_step logic to make things less confusing for users #15994

Rocketknight1 merged 39 commits into main from tf_train_step_copies
Rocketknight1
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 force pushed to f4e2d0af 3 years ago
Rocketknight1 Rocketknight1 force pushed to 3f1a61eb 3 years ago
Rocketknight1 Rocketknight1 force pushed to 3b96ac0f 3 years ago
Rocketknight1 Rocketknight1 force pushed 3 years ago
Rocketknight1 Rocketknight1 force pushed to 3b340665 3 years ago
Rocketknight1 Rocketknight1 requested a review from gante gante 3 years ago
Rocketknight1 Rocketknight1 requested a review from sgugger sgugger 3 years ago
Rocketknight1 Rocketknight1 requested a review from LysandreJik LysandreJik 3 years ago
Rocketknight1
sgugger
sgugger approved these changes on 2022-03-29
gante
gante approved these changes on 2022-03-29
Rocketknight1 Rocketknight1 force pushed to 0bbeac49 3 years ago
Rocketknight1
Rocketknight1
sgugger
LysandreJik
sgugger
Rocketknight1
LysandreJik
sgugger
gante
Rocketknight1
sgugger
Rocketknight1
Rocketknight1 Adding new train_step logic to make things less confusing for users
fae607ae
Rocketknight1 DO NOT ASK WHY WE NEED THAT SUBCLASS
02505441
Rocketknight1 Metrics now working, at least for single-output models with type anno…
0e294f5f
Rocketknight1 Updates and TODOs for the new train_step
125235ed
Rocketknight1 Make fixup
119cbf24
Rocketknight1 Temporary test workaround until T5 has types
892176d1
Rocketknight1 Temporary test workaround until T5 has types
ec766956
Rocketknight1 I think this actually works! Needs a lot of tests though
1053bdc7
Rocketknight1 MAke style/quality
9557efdd
Rocketknight1 Revert changes to T5 tests
6e3f09a2
Rocketknight1 Deleting the aforementioned unmentionable subclass
5851cc36
Rocketknight1 Deleting the aforementioned unmentionable subclass
b8137b14
Rocketknight1 Adding a Keras API test
98935fe3
Rocketknight1 Style fixes
82cc3c0e
Rocketknight1 Removing unneeded TODO and comments
2f5a3896
Rocketknight1 Update test_step too
a3556a8f
Rocketknight1 Stop trying to compute metrics with the dummy_loss, patch up test
f5dc36ee
Rocketknight1 Make style
680f6d22
Rocketknight1 make fixup
8d805d8b
Rocketknight1 Docstring cleanup
8ed327fa
Rocketknight1 make fixup
8226e7b1
Rocketknight1 make fixup
ca6bd5bf
Rocketknight1 Stop expanding 1D input tensors when using dummy loss
b7ae0618
Rocketknight1 Adjust T5 test given the new compile()
b015f5cb
Rocketknight1 make fixup
28d58da8
Rocketknight1 Skipping test for convnext
8666fdba
Rocketknight1 Removing old T5-specific Keras test now that we have a common one
6bb0621d
Rocketknight1 make fixup
d34d4282
Rocketknight1 make fixup
3c4465a2
Rocketknight1 Only skip convnext test on CPU
bd414d34
Rocketknight1 Update src/transformers/modeling_tf_utils.py
11a608f8
Rocketknight1 Update src/transformers/modeling_tf_utils.py
5e01947b
Rocketknight1 Avoiding TF import issues
0b5287af
Rocketknight1 make fixup
196a90b0
Rocketknight1 Update compile() to support TF 2.3
9548480a
Rocketknight1 Skipping model.fit() on template classes for now
c03492c8
Rocketknight1 Skipping model.fit() on template class tests for now
81ad430c
Rocketknight1 Rocketknight1 force pushed from fefe4c85 to 81ad430c 3 years ago
Rocketknight1 Replace ad-hoc solution with find_labels
e961c739
Rocketknight1 make fixup
f73c90ab
Rocketknight1
Rocketknight1 Rocketknight1 merged 43540052 into main 3 years ago
Rocketknight1 Rocketknight1 deleted the tf_train_step_copies branch 3 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone