Zongxia Li
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ metrics:
|
|
| 7 |
- exact_match
|
| 8 |
- f1
|
| 9 |
- bertscore
|
| 10 |
-
pipeline_tag:
|
| 11 |
---
|
| 12 |
# QA-Evaluation-Metrics
|
| 13 |
|
|
@@ -71,7 +71,7 @@ question = "who will take the throne after the queen dies"
|
|
| 71 |
cfm = CFMatcher()
|
| 72 |
scores = cfm.get_scores(reference_answer, candidate_answer, question)
|
| 73 |
match_result = cfm.cf_match(reference_answer, candidate_answer, question)
|
| 74 |
-
print("Score: %s;
|
| 75 |
```
|
| 76 |
|
| 77 |
If you find this repo avialable, please cite our paper:
|
|
|
|
| 7 |
- exact_match
|
| 8 |
- f1
|
| 9 |
- bertscore
|
| 10 |
+
pipeline_tag: Evaluation Metric
|
| 11 |
---
|
| 12 |
# QA-Evaluation-Metrics
|
| 13 |
|
|
|
|
| 71 |
cfm = CFMatcher()
|
| 72 |
scores = cfm.get_scores(reference_answer, candidate_answer, question)
|
| 73 |
match_result = cfm.cf_match(reference_answer, candidate_answer, question)
|
| 74 |
+
print("Score: %s; bert Match: %s" % (scores, match_result))
|
| 75 |
```
|
| 76 |
|
| 77 |
If you find this repo avialable, please cite our paper:
|