google-research / google-research/bleurt

issue

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
793
Forks
94
PR merge metrics
No merged PRs in 30d

Description

As I follow the command until:

wget https://storage.googleapis.com/bleurt-oss/bleurt-base-128.zip .
unzip bleurt-base-128.zip
python -m bleurt.score \
-candidate_file=bleurt/test_data/candidates \
-reference_file=bleurt/test_data/references \
-bleurt_checkpoint=bleurt-base-128

I actually finish the step in your program, but as I run Python's API ,
the code like this:

from bleurt import score

checkpoint = "C:\bleurt-master\bert-base-128"
references = ["This is a test."]
candidates = ["This is the test."]

scorer = score.BleurtScorer(checkpoint)
scores = scorer.score(references=references, candidates=candidates)
assert type(scores) == list and len(scores) == 1
print(scores)

It occurred that:AssertionError: Could not find BLEURT checkpoint Cleurt-masteert-base-128

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.