CelebChat / test.py
lhzstar
new commits
b55470f
raw
history blame
193 Bytes
import evaluate
bertscore = evaluate.load("bertscore")
results = bertscore.compute(predictions=["I am from Toronto."], references=["Hey"],rescale_with_baseline=True, lang="en")
print(results)