We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: