Commit
·
c591ceb
1
Parent(s):
14f7dc0
add log of filepath
Browse files
utils.py
CHANGED
@@ -188,6 +188,8 @@ def update_darija_one_vs_all_leaderboard(result_df, model_name, target_lang, DIA
|
|
188 |
base_path = os.path.dirname(__file__)
|
189 |
json_file_path = os.path.join(base_path, DIALECT_CONFUSION_LEADERBOARD_FILE)
|
190 |
|
|
|
|
|
191 |
# Load leaderboard data
|
192 |
try:
|
193 |
with open(json_file_path, "r") as f:
|
@@ -344,6 +346,8 @@ def update_darija_multilingual_leaderboard(result_df, model_name, MULTI_DIALECTS
|
|
344 |
base_path = os.path.dirname(__file__)
|
345 |
json_file_path = os.path.join(base_path, MULTI_DIALECTS_LEADERBOARD_FILE)
|
346 |
|
|
|
|
|
347 |
# Load leaderboard data
|
348 |
try:
|
349 |
with open(json_file_path, "r") as f:
|
|
|
188 |
base_path = os.path.dirname(__file__)
|
189 |
json_file_path = os.path.join(base_path, DIALECT_CONFUSION_LEADERBOARD_FILE)
|
190 |
|
191 |
+
print(f"[INFO] Loading leaderboard data (json file) from: {json_file_path}")
|
192 |
+
|
193 |
# Load leaderboard data
|
194 |
try:
|
195 |
with open(json_file_path, "r") as f:
|
|
|
346 |
base_path = os.path.dirname(__file__)
|
347 |
json_file_path = os.path.join(base_path, MULTI_DIALECTS_LEADERBOARD_FILE)
|
348 |
|
349 |
+
print(f"[INFO] Loading leaderboard data (json file) from: {json_file_path}")
|
350 |
+
|
351 |
# Load leaderboard data
|
352 |
try:
|
353 |
with open(json_file_path, "r") as f:
|