code: def remove_ignore_keys_(state_dict):
      ignore_keys = [
          "encoder.version",
          "decoder.version",
          "model.encoder.version",
          "model.decoder.version",
          "decoder.output_projection.weight",
          "_float_tensor",
          "encoder.embed_positions._float_tensor",
          "decoder.embed_positions._float_tensor",
      ]
      for k in ignore_keys:
          state_dict.pop(k, None)
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/src/transformers/models/speech_to_text/convert_s2t_fairseq_to_tfms.py
imports: import argparse
  import torch
  from torch import nn
  from transformers import Speech2TextConfig, Speech2TextForConditionalGeneration
label_desc: Use image node_id 1 for calling a global function with example usage: remove_ignore_keys_(state_dict) without return types