code: def get_dummy_task_and_parser():
      """
      to build a fariseq model, we need some dummy parse and task. This function
      is used to create dummy task and parser to faciliate model/criterion test
  
      Note: we use FbSpeechRecognitionTask as the dummy task. You may want
      to use other task by providing another function
      """
      parser = argparse.ArgumentParser(
          description="test_dummy_s2s_task",
          argument_default=argparse.SUPPRESS,
      )
      DummyTask.add_args(parser)
      args = parser.parse_args([])
      task = DummyTask.setup_task(args)
      return task, parser
  
file_path: fairseq/tests/test_lstm_jitable.py
imports: import argparse
  import tempfile
  import unittest
  import torch
  from fairseq.data.dictionary import Dictionary
  from fairseq.models.lstm import LSTMModel
  from fairseq.tasks.fairseq_task import LegacyFairseqTask
label_desc: Use image node_id 2 for calling a global function with example usage: get_dummy_task_and_parser() and returns: task,  parser