Fix models which use layer_type_validation for Transformers v5
#37398
+45
−16
Loading