code: def build_model(
      self, model_cfg: FairseqDataclass, from_checkpoint=False
  ):
      model = super().build_model(model_cfg, from_checkpoint)
  
      if self.cfg.eval_wer and self.cfg.autoregressive:
          self.sequence_generator = self.build_generator(
              [model],
              self.cfg.eval_wer_config,
          )
          if self.cfg.eval_wer_tokenizer:
              self.tokenizer = encoders.build_tokenizer(
                  self.cfg.eval_wer_tokenizer
              )
          else:
              self.tokenizer = None
      if self.cfg.eval_bleu and self.cfg.autoregressive:
          assert self.cfg.eval_bleu_detok is not None, (
              "--eval-bleu-detok is required if using --eval-bleu; "
              "try --eval-bleu-detok=moses (or --eval-bleu-detok=space "
              "to disable detokenization, e.g., when using sentencepiece)"
          )
          detok_args = json.loads(self.cfg.eval_bleu_detok_args)
          self.tokenizer = encoders.build_tokenizer(
              Namespace(
                  tokenizer=self.cfg.eval_bleu_detok, **detok_args
              )
          )
          gen_args = json.loads(self.cfg.eval_bleu_args)
          gen_args = Namespace(**gen_args)
          self.sequence_generator = self.build_generator(
              [model], gen_args
          )
  
      return model
  
imports: import logging
  import os
  from fairseq.data.multi_corpus_dataset import MultiCorpusDataset
  import torch
  import json
  from argparse import Namespace
  from dataclasses import dataclass, field
  from typing import Optional, Any, OrderedDict
  from fairseq.data import AddTargetDataset, Dictionary, encoders
  from fairseq.tasks.audio_pretraining import AudioPretrainingTask, AudioPretrainingConfig
  from fairseq.dataclass import FairseqDataclass
  from fairseq.dataclass.configs import GenerationConfig
  from fairseq.data.text_compressor import TextCompressor, TextCompressionLevel
  from .None import register_task
  from ..None import utils
  from ..logging import metrics
label_desc: Use image node_id 6 for calling the AudioFinetuningTask obj's underlying member method code with example usage: obj.build_model(model_cfg, from_checkpoint) and returns: model