Update README.md
Browse files
README.md
CHANGED
@@ -189,7 +189,7 @@ from qa_metrics.transformerMatcher import TransformerMatcher
|
|
189 |
|
190 |
question = "Which movie is loosley based off the Brother Grimm's Iron Henry?"
|
191 |
# Supported models: roberta-large, roberta, bert, distilbert, distilroberta
|
192 |
-
tm = TransformerMatcher("
|
193 |
scores = tm.get_scores(reference_answer, candidate_answer, question)
|
194 |
match_result = tm.transformer_match(reference_answer, candidate_answer, question)
|
195 |
print("Score: %s; bert Match: %s" % (scores, match_result))
|
|
|
189 |
|
190 |
question = "Which movie is loosley based off the Brother Grimm's Iron Henry?"
|
191 |
# Supported models: roberta-large, roberta, bert, distilbert, distilroberta
|
192 |
+
tm = TransformerMatcher("zli12321/answer_equivalence_distilbert")
|
193 |
scores = tm.get_scores(reference_answer, candidate_answer, question)
|
194 |
match_result = tm.transformer_match(reference_answer, candidate_answer, question)
|
195 |
print("Score: %s; bert Match: %s" % (scores, match_result))
|