Fix failed tests in #31851
Author: ydshieh
Pull request: yes

Add more special cases added in #31851

Comments:
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_31879). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

For the record: this is the list I come up with but we still get some failures.

<details>

<summary> Some entries </summary>


```
            special_param_names = [
                r"wav2vec2\.masked_spec_embed",
                r"wav2vec2\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"wav2vec2\.feature_projection\.projection\.weight",
                r"wav2vec2\.feature_projection\.projection\.bias",
                r"wav2vec2\.encoder\.pos_conv_embed\.conv\.parametrizations\.weight\.original.",
                r"classifier\.weight",
                r"regnet\.embedder\.embedder\.convolution\.weight",
                r"regnet\.encoder\.stages\..+\.layers\..+\.layer\..+\.convolution\.weight",
                r"regnet\.encoder\.stages\..+\.layers\..+\.shortcut\.convolution\.weight",
                r"regnet\.encoder\.stages\..+\.layers\..+\.layer\..+\.attention\..+\.weight",
                r"regnet\.encoder\.stages\..+\.layers\..+\.layer\..+\.attention\..+\.bias",
                r"classifier\..+\.weight",
                r"classifier\..+\.bias",
                r"resnet\.embedder\.embedder\.convolution\.weight",
                r"resnet\.encoder\.stages\..+\.layers\..+\.shortcut\.convolution\.weight",
                r"resnet\.encoder\.stages\..+\.layers\..+\.layer\..+\.convolution\.weight",
                r"resnet\.encoder\.stages\..+\.layers\..+\.shortcut\.convolution\.weight",
                r"resnet\.encoder\.stages\..+\.layers\..+\.layer\..+\.attention\..+\.weight",
                r"resnet\.encoder\.stages\..+\.layers\..+\.layer\..+\.attention\..+\.bias",
                r"unispeech_sat\.masked_spec_embed",
                r"wav2vec2_bert\.masked_spec_embed",
                r"pvt_v2\.encoder\.layers\..+\.patch_embedding\.proj\.weight",
                r"wav2vec2_conformer\.masked_spec_embed",
                r"wavlm\.masked_spec_embed",
                r"swiftformer\.patch_embed\.patch_embedding\..+\.weight",
                r"sew\.masked_spec_embed",
                r"bit\.embedder\.convolution\.weight",
                r"sew_d\.masked_spec_embed",
                r"vision_model\.embeddings\.patch_embedding\.weight",
                r"hubert\.masked_spec_embed",
                r"swinv2\.encoder\.layers\..+\.blocks\..+\.attention\.self\.logit_scale",
                r"data2vec_audio\.masked_spec_embed",
                r"unispeech\.masked_spec_embed",
                r"pvt\.encoder\.patch_embeddings\..+\.projection\.weight",
                r"unispeech_sat\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"wav2vec2_bert\.feature_projection\.projection\.weight",
                r"pvt_v2\.encoder\.layers\..+\.blocks\..+\.attention\.spatial_reduction\.weight",
                r"wav2vec2_conformer\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"wavlm\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"swiftformer\.encoder\.network\..+\.blocks\..+\.local_representation\.depth_wise_conv\.weight",
                r"sew\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"bit\.encoder\.stages\..+\.layers\..+\.downsample\.conv\.weight",
                r"sew_d\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"vision_model\.embeddings\.position_embedding\.weight",
                r"hubert\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"swinv2\.encoder\.layers\..+\.blocks\..+\.attention\.self\.logit_scale",
                r"data2vec_audio\.feature_extractor\.conv_layers\..+\.conv\.weigh",
                r"unispeech\.feature_extractor\.conv_layers\..+\.conv\.weight",
                r"pvt\.encoder\.patch_embeddings\..+\.projection\.bias",
                r"unispeech_sat\.feature_projection\.projection\.weight",
                r"unispeech_sat\.feature_projection\.projection\.bias",
                r"wav2vec2_bert\.feature_projection\.projection\.bias",
                r"pvt_v2\.encoder\.layers\..+\.blocks\..+\.mlp\.dwconv\.dwconv\.weight",
                r"wav2vec2_conformer\.feature_projection\.projection\.weight",
                r"wav2vec2_conformer\.feature_projection\.projection\.bias",
                r"wavlm\.feature_projection\.projection\.weight",
                r"wavlm\.feature_projection\.projection\.bias",
                r"swiftformer\.encoder\.network\..+\.blocks\..+\.local_representation\.point_wise_conv.+\.weight",
                r"sew\.encoder\.pos_conv_embed\.conv\.weight_g",
                r"bit\.encoder\.stages\..+\.layers\..+\.conv.+\.weight",
                r"sew_d\.encoder\.pos_conv_embed\.conv\.weight_g",
                r"vision_model\.encoder\.layers\..+\.self_attn\.k_proj\.weight",
                r"hubert\.encoder\.pos_conv_embed\.conv\.parametrizations\.weight\.original.+",
                r"swinv2\.encoder\.layers\..+\.blocks\..+\.attention\.self\.logit_scale",
                r"data2vec_audio\.feature_projection\.projection\.weight",
                r"unispeech\.feature_projection\.projection\.weight",
                r"pvt\.encoder\.block\..+\..+\.attention\.self\.sequence_reduction\.weight",
                r"wav2vec2_bert\.encoder\.layers\..+\.self_attn\.pos_bias_u",
                r"sew\.encoder\.pos_conv_embed\.conv\.weight_v",
                r"sew_d\.encoder\.pos_conv_embed\.conv\.weight_v",
                r"vision_model\.encoder\.layers\..+\.self_attn\.v_proj\.weight",
                r"data2vec_audio\.feature_projection\.projection\.bias",
                r"unispeech\.feature_projection\.projection\.bias",
                r"pvt\.encoder\.block\..+\..+\.attention\.self\.sequence_reduction.bias",
                r"unispeech_sat\.encoder\.pos_conv_embed\.conv\.parametrizations\.weight\.original.+",
                r"wav2vec2_bert\.encoder\.layers\..+\.self_attn\.pos_bias_v",
                r"wav2vec2_conformer\.encoder\.pos_conv_embed\.conv\.parametrizations\.weight\.original.+",
                r"wavlm\.encoder\.pos_conv_embed\.conv\.parametrizations\.weight\.original.+",
                r"swiftformer\.encoder\.network\..+\.blocks\..+\.attn\.w_g",
                r"vision_model\.encoder\.layers\..+\.self_attn\.q_proj\.weight",
                r"data2vec_audio\.encoder\.pos_conv_embed\.layers\..+\.conv\.weight",
                r"unispeech\.encoder\.pos_conv_embed\.conv\.parametrizations\.weight\.original.+",
                r"wav2vec2_bert\.encoder\.layers\..+\.conv_module\.pointwise_conv1\.weight",
                r"wav2vec2_conformer\.encoder\.layers\..+\.self_attn\.pos_bias_u",
                r"wavlm\.encoder\.layers\..+\.attention\.rel_attn_embed\.weight",
                r"swiftformer\.encoder\.network\..+\.blocks\..+\.attn\.to_query\.weight",
                r"vision_model\.encoder\.layers\..+\.self_attn\.out_proj\.weight",
                r"wav2vec2_bert\.encoder\.layers\..+\.conv_module\.depthwise_conv\.weight",
                r"wav2vec2_conformer\.encoder\.layers\..+\.self_attn\.pos_bias_v",
                r"swiftformer\.encoder\.network\..+\.blocks\..+\.attn\.to_key\.weight",
                r"vision_model\.encoder\.layers\..+\.mlp\.fc1\.weight",
                r"vision_model\.encoder\.layers\..+\.mlp\.fc1\.bias",
                r"swiftformer\.encoder\.network\..+\.blocks\..+\.attn\.proj\.weight",
                r"wav2vec2_bert\.encoder\.layers\..+\.conv_module\.pointwise_conv2\.weight",
                r"wav2vec2_conformer\.encoder\.layers\..+\.conv_module\.pointwise_conv1\.weight",
            ]
```


</details>