class_docstr: Abstract Labeling Model
class_docstr_tok: ["Abstract","Labeling","Model"]
code: def build_model_generator(
      self, generators: List[CorpusGenerator]
  ) -> None:
      if not self.text_processor.vocab2idx:
          self.text_processor.build_vocab_generator(generators)
      self.label_processor.build_vocab_generator(generators)
      self.embedding.setup_text_processor(self.text_processor)
  
      if self.sequence_length is None:
          self.sequence_length = (
              self.embedding.get_seq_length_from_corpus(generators)
          )
  
      if self.tf_model is None:
          self.build_model_arc()
          self.compile_model()
  
imports: from abc import ABC
  from typing import List, Dict, Any, Union, Optional
  import numpy
  import tensorflow
  import kashgari
  from kashgari.embeddings import ABCEmbedding, BareEmbedding
  from kashgari.generators import CorpusGenerator, BatchDataSet
  from kashgari.layers import KConditionalRandomField
  from kashgari.logger import logger
  from kashgari.metrics.sequence_labeling import get_entities
  from kashgari.metrics.sequence_labeling import sequence_labeling_report
  from kashgari.processors import SequenceProcessor
  from kashgari.tasks.abs_task_model import ABCTaskModel
  from kashgari.types import TextSamplesVar
label_desc: Use image node_id 3 for calling the ABCLabelingModel obj's underlying member method code with example usage: obj.build_model_generator(generators) without return types