Skip to content

Commit

Permalink
Fix TF template (huggingface#10189)
Browse files Browse the repository at this point in the history
* Fix template

* Update Seq2Seq tests
  • Loading branch information
jplu authored Feb 15, 2021
1 parent 2a5c990 commit 5702188
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ class TF{{cookiecutter.camelcase_modelname}}ModelTest(TFModelTesterMixin, unitte
)

test_head_masking = False
test_onnx = False

def setUp(self):
self.model_tester = TF{{cookiecutter.camelcase_modelname}}ModelTester(self)
Expand Down Expand Up @@ -478,6 +479,7 @@ class TF{{cookiecutter.camelcase_modelname}}ModelTest(TFModelTesterMixin, unitte
is_encoder_decoder = True
test_pruning = False
test_head_masking = False
test_onnx = False

def setUp(self):
self.model_tester = TF{{cookiecutter.camelcase_modelname}}ModelTester(self)
Expand Down

0 comments on commit 5702188

Please sign in to comment.