[Pretrained Model] Add resize_position_embeddings (#13559)

* finish

* delete bogus file

* correct some stuff

* finish

* finish
This commit is contained in:
Patrick von Platen
2021-09-15 19:03:56 +02:00
committed by GitHub
parent c783e14887
commit 95f933ea85
8 changed files with 413 additions and 13 deletions

View File

@@ -214,6 +214,7 @@ class DistilBertModelTest(ModelTesterMixin, unittest.TestCase):
test_torchscript = True
test_resize_embeddings = True
test_sequence_classification_problem_types = True
test_resize_position_embeddings = True
def setUp(self):
self.model_tester = DistilBertModelTester(self)