Skip to content

Commit

Permalink
feat: add missing domains to medical tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuades committed Nov 19, 2024
1 parent 6bc7abe commit 701b892
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion mteb/tasks/Reranking/zho/CMTEBReranking.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class CMedQAv2(AbsTaskReranking):
main_score="map",
date=None,
form=None,
domains=None,
domains=["Medical", "Written"],
task_subtypes=None,
license=None,
annotations_creators=None,
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/eng/NFCorpusRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class NFCorpus(AbsTaskRetrieval):
eval_langs=["eng-Latn"],
main_score="ndcg_at_10",
date=None,
domains=None,
domains=["Medical", "Academic", "Written"],
task_subtypes=None,
license=None,
annotations_creators=None,
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/eng/SciFactRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SciFact(AbsTaskRetrieval):
eval_langs=["eng-Latn"],
main_score="ndcg_at_10",
date=None,
domains=None,
domains=["Academic", "Medical", "Written"],
task_subtypes=None,
license=None,
annotations_creators=None,
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/eng/TRECCOVIDRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TRECCOVID(AbsTaskRetrieval):
eval_langs=["eng-Latn"],
main_score="ndcg_at_10",
date=None,
domains=None,
domains=["Medical", "Academic", "Written"],
task_subtypes=None,
license=None,
annotations_creators=None,
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/multilingual/CUREv1Retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CUREv1Retrieval(MultilingualTask, AbsTaskRetrieval):
eval_langs=_LANGUAGES,
main_score="ndcg_at_10",
date=("2024-01-01", "2024-10-31"),
domains=["Medical", "Academic"],
domains=["Medical", "Academic", "Written"],
task_subtypes=[],
license="cc-by-nc-4.0",
annotations_creators="expert-annotated",
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/pol/SciFactPLRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SciFactPL(AbsTaskRetrieval):
eval_langs=["pol-Latn"],
main_score="ndcg_at_10",
date=None,
domains=None,
domains=["Academic", "Medical", "Written"],
task_subtypes=None,
license=None,
annotations_creators=None,
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/pol/TRECCOVIDPLRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class TRECCOVIDPL(AbsTaskRetrieval):
"2019-12-01",
"2022-12-31",
), # approximate date of covid pandemic start and end (best guess)
domains=["Academic", "Non-fiction", "Written"],
domains=["Academic", "Medical", "Non-fiction", "Written"],
task_subtypes=["Article retrieval"],
license="not specified",
annotations_creators="derived",
Expand Down
2 changes: 1 addition & 1 deletion mteb/tasks/Retrieval/zho/CMTEBRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class CmedqaRetrieval(AbsTaskRetrieval):
eval_langs=["cmn-Hans"],
main_score="ndcg_at_10",
date=None,
domains=None,
domains=["Medical", "Written"],
task_subtypes=None,
license=None,
annotations_creators=None,
Expand Down

0 comments on commit 701b892

Please sign in to comment.