code: def test_with_bert(self):
      bert_path = get_file(
          "bert_sample_model",
          "http://s3.bmio.net/kashgari/bert_sample_model.tar.bz2",
          cache_dir=DATA_PATH,
          untar=True,
      )
      embedding = BertEmbedding(model_folder=bert_path)
      model = self.TASK_MODEL_CLASS(embedding=embedding)
      train_x, train_y = TestMacros.load_labeling_corpus()
      valid_x, valid_y = train_x, train_y
  
      model.fit(
          train_x,
          train_y,
          x_validate=valid_x,
          y_validate=valid_y,
          epochs=self.EPOCH_COUNT,
      )
  
      model.evaluate(valid_x, valid_y)
      model.evaluate(valid_x, valid_y, truncating=True)
      model.predict(valid_x)
      model.predict(valid_x, truncating=True)
  
file_path: Kashgari/tests/test_labeling/test_bi_lstm_model.py
imports: import os
  import tempfile
  import time
  import unittest
  from typing import Type
  from tensorflow.keras.utils import get_file
  from kashgari.embeddings import BertEmbedding
  from kashgari.embeddings import WordEmbedding
  from kashgari.macros import DATA_PATH
  from kashgari.tasks.labeling import BiLSTM_Model, ABCLabelingModel
  from tests.test_macros import TestMacros
label_desc: Use image node_id 4 for calling the TestBiLSTM_Model obj's underlying member method code with example usage: obj.test_with_bert() without return types