code: def vocab_config(
      args,
      ent_vocab,
      rel_vocab,
      text_vocab,
      ent_text_vocab,
      title_vocab,
  ):
      # dirty work
      args.ent_vocab = ent_vocab
      args.rel_vocab = rel_vocab
      args.text_vocab = text_vocab
      args.ent_text_vocab = ent_text_vocab
      args.title_vocab = title_vocab
      return args
  
imports: import argparse
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: vocab_config(args, ent_vocab, rel_vocab, text_vocab, ent_text_vocab, title_vocab) and returns: args