Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ Our fine-tuned BERT model is this repository. Our Package also supports download
|
|
46 |
from qa_metrics.transformerMatcher import TransformerMatcher
|
47 |
|
48 |
question = "who will take the throne after the queen dies"
|
49 |
-
tm = TransformerMatcher("roberta")
|
50 |
scores = tm.get_scores(reference_answer, candidate_answer, question)
|
51 |
match_result = tm.transformer_match(reference_answer, candidate_answer, question)
|
52 |
print("Score: %s; CF Match: %s" % (scores, match_result))
|
|
|
46 |
from qa_metrics.transformerMatcher import TransformerMatcher
|
47 |
|
48 |
question = "who will take the throne after the queen dies"
|
49 |
+
tm = TransformerMatcher("roberta-large")
|
50 |
scores = tm.get_scores(reference_answer, candidate_answer, question)
|
51 |
match_result = tm.transformer_match(reference_answer, candidate_answer, question)
|
52 |
print("Score: %s; CF Match: %s" % (scores, match_result))
|