From d637d9369b10bf8d2c04a7bdfe5eae8c80ef3cf7 Mon Sep 17 00:00:00 2001 From: Fahim Dalvi Date: Sun, 17 Sep 2023 15:06:13 +0300 Subject: [PATCH] Remove `general_args` from HuggingFace assets (#229) --- assets/ar/QA/MLQA_mdeberta_v3_base_squad2_ZeroShot.py | 3 --- .../STS/Q2QSim_Intfloat_Multilingual_e5_small_ZeroShot.py | 3 --- .../sentiment/ArSAS_Camelbert_da_sentiment_ZeroShot.py | 3 --- 3 files changed, 9 deletions(-) diff --git a/assets/ar/QA/MLQA_mdeberta_v3_base_squad2_ZeroShot.py b/assets/ar/QA/MLQA_mdeberta_v3_base_squad2_ZeroShot.py index fe9871cb..6714fbfc 100644 --- a/assets/ar/QA/MLQA_mdeberta_v3_base_squad2_ZeroShot.py +++ b/assets/ar/QA/MLQA_mdeberta_v3_base_squad2_ZeroShot.py @@ -15,9 +15,6 @@ def config(): "inference_api_url": "https://api-inference.huggingface.co/models/timpal0l/mdeberta-v3-base-squad2", "max_tries": 5, }, - "general_args": { - "data_path": "data/QA/MLQA/test/test-context-ar-question-ar.json" - }, } diff --git a/assets/ar/semantics/STS/Q2QSim_Intfloat_Multilingual_e5_small_ZeroShot.py b/assets/ar/semantics/STS/Q2QSim_Intfloat_Multilingual_e5_small_ZeroShot.py index 8857cf5e..99401e46 100644 --- a/assets/ar/semantics/STS/Q2QSim_Intfloat_Multilingual_e5_small_ZeroShot.py +++ b/assets/ar/semantics/STS/Q2QSim_Intfloat_Multilingual_e5_small_ZeroShot.py @@ -15,9 +15,6 @@ def config(): "inference_api_url": "https://api-inference.huggingface.co/models/intfloat/multilingual-e5-small", "max_tries": 5, }, - "general_args": { - "data_path": "data/STS/nsurl-2019-task8/test.tsv", - }, } diff --git a/assets/ar/sentiment_emotion_others/sentiment/ArSAS_Camelbert_da_sentiment_ZeroShot.py b/assets/ar/sentiment_emotion_others/sentiment/ArSAS_Camelbert_da_sentiment_ZeroShot.py index c4457220..937319cc 100644 --- a/assets/ar/sentiment_emotion_others/sentiment/ArSAS_Camelbert_da_sentiment_ZeroShot.py +++ b/assets/ar/sentiment_emotion_others/sentiment/ArSAS_Camelbert_da_sentiment_ZeroShot.py @@ -15,9 +15,6 @@ def config(): "inference_api_url": "https://api-inference.huggingface.co/models/CAMeL-Lab/bert-base-arabic-camelbert-da-sentiment", "max_tries": 5, }, - "general_args": { - "data_path": "data/sentiment_emotion_others/sentiment/ArSAS-test.txt" - }, }