Remove redundant test_head_masking = True flags in test files (#9858)
* Remove redundant test_head_masking = True flags * Remove all redundant test_head_masking flags in PyTorch test_modeling_* files * Make test_head_masking = True as a default choice in test_modeling_tf_commong.py * Remove all redundant test_head_masking flags in TensorFlow test_modeling_tf_* files * Put back test_head_masking=False fot TFT5 models
This commit is contained in:
@@ -75,6 +75,7 @@ class TFModelTesterMixin:
|
||||
all_model_classes = ()
|
||||
all_generative_model_classes = ()
|
||||
test_resize_embeddings = True
|
||||
test_head_masking = True
|
||||
is_encoder_decoder = False
|
||||
|
||||
def _prepare_for_class(self, inputs_dict, model_class, return_labels=False) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user