def bert_score()

in utils/compute_score.py [0:0]


def bert_score(reference, candidate):
    P, R, F1 = score(candidate, reference, model_type="bert-base-chinese", lang="zh", verbose=True)
    print('Bert Score: %s' % F1.mean())
    return F1.mean()