class_docstr: Model builder for TFR-BERT models.
class_docstr_tok: ["Model","builder","for","TFR-BERT","models","."]
code: def build(self) -> tf.keras.Model:
      model = super().build()
      model.checkpoint_items = {"encoder": self._scorer.encoder}
      return model
  
imports: import dataclasses
  import os
  import time
  from typing import Dict, Mapping, Optional, Tuple
  from absl import logging
  import numpy
  import tensorflow
  from official.core import task_factory
  from official.modeling.hyperparams import base_config
  from official.nlp.configs import encoders
  from tensorflow_ranking.extension import task
  from tensorflow_ranking.python.keras import metrics
  from tensorflow_ranking.python.keras import model
label_desc: Use image node_id 1 for calling the TFRBertModelBuilder obj's underlying member method code with example usage: obj.build() and returns: model