code: def bert_base_squad2(request):
      model = QAInferencer.load(
          "deepset/minilm-uncased-squad2",
          task_type="question_answering",
          batch_size=4,
          num_processes=0,
          multithreading_rust=False,
          use_fast=True,  # TODO parametrize this to test slow as well
      )
      return model
  
file_path: FARM/test/conftest.py
imports: import psutil
  import pytest
  from pathlib import Path
  from farm.data_handler.data_silo import DataSilo
  from farm.data_handler.processor import SquadProcessor
  from farm.modeling.adaptive_model import AdaptiveModel
  from farm.modeling.language_model import LanguageModel
  from farm.modeling.optimization import initialize_optimizer
  from farm.modeling.prediction_head import QuestionAnsweringHead
  from farm.modeling.tokenization import Tokenizer
  from farm.train import Trainer
  from farm.utils import set_all_seeds, initialize_device_settings
  from farm.infer import Inferencer, QAInferencer
label_desc: Use image node_id 5 for calling a global function with example usage: bert_base_squad2(request) and returns: model