Update README.md
Browse files
README.md
CHANGED
@@ -49,7 +49,7 @@ Our fine-tuned BERT model is this repository. Our Package also supports download
|
|
49 |
from qa_metrics.transformerMatcher import TransformerMatcher
|
50 |
|
51 |
question = "Which movie is loosley based off the Brother Grimm's Iron Henry?"
|
52 |
-
tm = TransformerMatcher("
|
53 |
scores = tm.get_scores(reference_answer, candidate_answer, question)
|
54 |
match_result = tm.transformer_match(reference_answer, candidate_answer, question)
|
55 |
print("Score: %s; TM Match: %s" % (scores, match_result))
|
|
|
49 |
from qa_metrics.transformerMatcher import TransformerMatcher
|
50 |
|
51 |
question = "Which movie is loosley based off the Brother Grimm's Iron Henry?"
|
52 |
+
tm = TransformerMatcher("distilbert")
|
53 |
scores = tm.get_scores(reference_answer, candidate_answer, question)
|
54 |
match_result = tm.transformer_match(reference_answer, candidate_answer, question)
|
55 |
print("Score: %s; TM Match: %s" % (scores, match_result))
|