Commit
·
70e0d7c
1
Parent(s):
d564ed1
back to old saving method
Browse files
utils.py
CHANGED
@@ -225,7 +225,7 @@ def update_darija_one_vs_all_leaderboard(result_df, model_name, target_lang, DIA
|
|
225 |
with open(json_file_path, "w") as f:
|
226 |
json.dump(data, f, indent=4)
|
227 |
|
228 |
-
save_leaderboard_file(DIALECT_CONFUSION_LEADERBOARD_FILE)
|
229 |
|
230 |
|
231 |
def handle_evaluation(model_path, model_path_bin, use_mapping=False):
|
@@ -396,7 +396,7 @@ def update_darija_multilingual_leaderboard(result_df, model_name, MULTI_DIALECTS
|
|
396 |
with open(json_file_path, "w") as f:
|
397 |
json.dump(data, f, indent=4)
|
398 |
|
399 |
-
save_leaderboard_file(MULTI_DIALECTS_LEADERBOARD_FILE)
|
400 |
|
401 |
|
402 |
def load_leaderboard_one_vs_all(DIALECT_CONFUSION_LEADERBOARD_FILE):
|
|
|
225 |
with open(json_file_path, "w") as f:
|
226 |
json.dump(data, f, indent=4)
|
227 |
|
228 |
+
# save_leaderboard_file(DIALECT_CONFUSION_LEADERBOARD_FILE)
|
229 |
|
230 |
|
231 |
def handle_evaluation(model_path, model_path_bin, use_mapping=False):
|
|
|
396 |
with open(json_file_path, "w") as f:
|
397 |
json.dump(data, f, indent=4)
|
398 |
|
399 |
+
# save_leaderboard_file(MULTI_DIALECTS_LEADERBOARD_FILE)
|
400 |
|
401 |
|
402 |
def load_leaderboard_one_vs_all(DIALECT_CONFUSION_LEADERBOARD_FILE):
|