code: def test_save_load(distilbert_squad, caplog=None):
      if caplog:
          caplog.set_level(logging.CRITICAL)
  
      model, processor = distilbert_squad
  
      save_dir = Path("testsave/qa_squad")
      model.save(save_dir)
      processor.save(save_dir)
  
      inferencer = QAInferencer.load(
          save_dir,
          batch_size=2,
          gpu=False,
          num_processes=0,
          task_type="question_answering",
      )
      assert inferencer is not None
  
imports: import logging
  from pathlib import Path
  import pytest
  from math import isclose
  import numpy
  from farm.data_handler.processor import SquadProcessor
  from farm.modeling.adaptive_model import AdaptiveModel
  from farm.infer import QAInferencer
  from farm.data_handler.inputs import QAInput, Question
label_desc: Use image node_id 2 for calling a global function with example usage: test_save_load(distilbert_squad, caplog) without return types