code: def remove_pretrained_embedding_params(params):
      keys = list(params.keys())
      if "pretrained_file" in keys:
          del params["pretrained_file"]
      for value in list(params.values()):
          if isinstance(value, Params):
              remove_pretrained_embedding_params(value)
  
imports: from __future__ import with_statement
  from __future__ import absolute_import
  import logging
  import os
  import numpy
  import torch
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.params import Params
  from allennlp.common.registrable import Registrable
  from allennlp.data import Instance, Vocabulary
  from allennlp.data.dataset import Batch
  from allennlp.nn import util
  from allennlp.nn.regularizers import RegularizerApplicator
label_desc: Use image node_id 1 for calling a global function with example usage: remove_pretrained_embedding_params(params) without return types