Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
liuhaozhe6788
/
CelebChat
like
1
Runtime error
App
Files
Files
Community
b55470f
CelebChat
/
test.py
lhzstar
new commits
b55470f
about 1 year ago
raw
Copy download link
history
blame
Safe
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)