def METHOD_NAME(self):
    data_dir = '/home/TestData/nlp/token_classification_punctuation/gmb'
    model = models.TokenClassificationModel.from_pretrained("ner_en_bert")
    metrics = get_metrics(data_dir, model)
    assert abs(metrics['precision'] - 96.0937) < 0.001
    assert abs(metrics['recall'] - 96.0146) < 0.001
    assert abs(metrics['f1'] - 95.6076) < 0.001
    assert int(model.classification_report.total_examples) == 202