code: def get_model(model_name, model_dir, drop_out, n_fc, num_classes):
      model = TransformerModel(
          model_name, model_dir, drop_out, n_fc, num_classes
      )
      return model
  
file_path: ignite/examples/transformers/utils.py
imports: import torch
  from dataset import TransformerDataset
  from datasets import load_dataset
  from model import TransformerModel
  from transformers import AutoTokenizer
  from ignite.handlers import DiskSaver
label_desc: Use image node_id 2 for calling a global function with example usage: get_model(model_name, model_dir, drop_out, n_fc, num_classes) and returns: model