From 710d2fdb1fc1296f38c481c78b7a45579d8e989c Mon Sep 17 00:00:00 2001 From: Henil Panchal Date: Sun, 16 Jun 2024 07:39:48 +0000 Subject: [PATCH] formatted --- docs/mmteb/points/936.jsonl | 2 +- mteb/tasks/Retrieval/fra/AlloprofRetrieval.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/mmteb/points/936.jsonl b/docs/mmteb/points/936.jsonl index 1bd3d02ae9..35ab52126b 100644 --- a/docs/mmteb/points/936.jsonl +++ b/docs/mmteb/points/936.jsonl @@ -1 +1 @@ -{"GitHub": "henilp105", "Dataset annotations": 8} \ No newline at end of file +{"GitHub": "henilp105", "Dataset annotations": 9} \ No newline at end of file diff --git a/mteb/tasks/Retrieval/fra/AlloprofRetrieval.py b/mteb/tasks/Retrieval/fra/AlloprofRetrieval.py index 4698678fdf..6a1e3143d8 100644 --- a/mteb/tasks/Retrieval/fra/AlloprofRetrieval.py +++ b/mteb/tasks/Retrieval/fra/AlloprofRetrieval.py @@ -21,12 +21,12 @@ class AlloprofRetrieval(AbsTaskRetrieval): eval_splits=["test"], eval_langs=["fra-Latn"], main_score="ndcg_at_10", - date=None, # no date specified. - form=['written'], - domains=['Encyclopaedic'], + date=None, # no date specified. + form=["written"], + domains=["Encyclopaedic"], task_subtypes=[], license="cc-by-nc-sa-4.0", - socioeconomic_status='mixed', + socioeconomic_status="mixed", annotations_creators="human-annotated", dialect=[], text_creation="found", @@ -40,8 +40,8 @@ class AlloprofRetrieval(AbsTaskRetrieval): year = {2023}, copyright = {Creative Commons Attribution Non Commercial Share Alike 4.0 International} }""", - n_samples={'train': 2048}, - avg_character_length=None, # unable to extract due to invalid hf dataset + n_samples={"train": 2048}, + avg_character_length=None, # unable to extract due to invalid hf dataset ) def load_data(self, **kwargs):