Skip to content

Commit

Permalink
fix f-string error
Browse files Browse the repository at this point in the history
Signed-off-by: Shachar Don-Yehiya Shachar.Don-Yehiya@ibm.com <shachardon@cccxl010.pok.ibm.com>
  • Loading branch information
Shachar Don-Yehiya Shachar.Don-Yehiya@ibm.com committed Sep 26, 2024
1 parent 8b80892 commit 7e0898f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions prepare/recipes/bluebench.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def prepapre_recipe(default_args, specific_args):
recipe = prepapre_recipe(default_args, ingridients)
add_to_catalog(
recipe,
f"recipes.bluebench.translation.mt_flores_101_{subset.replace(".", "_").lower()}",
f'recipes.bluebench.translation.mt_flores_101_{subset.replace(".", "_").lower()}',
overwrite=True,
)

Expand Down Expand Up @@ -159,7 +159,7 @@ def prepapre_recipe(default_args, specific_args):
recipe = prepapre_recipe(default_args, ingridients)
add_to_catalog(
recipe,
f"recipes.bluebench.bias.safety_bbq_{subset.replace(".", "_").lower()}",
f'recipes.bluebench.bias.safety_bbq_{subset.replace(".", "_").lower()}',
overwrite=True,
)

Expand All @@ -176,7 +176,7 @@ def prepapre_recipe(default_args, specific_args):
recipe = prepapre_recipe(default_args, ingridients)
add_to_catalog(
recipe,
f"recipes.bluebench.legal.legalbench_{subset.replace(".", "_").lower()}",
f'recipes.bluebench.legal.legalbench_{subset.replace(".", "_").lower()}',
overwrite=True,
)

Expand Down Expand Up @@ -217,7 +217,7 @@ def prepapre_recipe(default_args, specific_args):
recipe = prepapre_recipe(default_args, ingridients)
add_to_catalog(
recipe,
f"recipes.bluebench.knowledge.mmlu_pro_{subset.replace(".", "_").lower()}",
f'recipes.bluebench.knowledge.mmlu_pro_{subset.replace(".", "_").lower()}',
overwrite=True,
)

Expand All @@ -237,7 +237,7 @@ def prepapre_recipe(default_args, specific_args):
recipe = prepapre_recipe(default_args, ingridients)
add_to_catalog(
recipe,
f"recipes.bluebench.entity_extraction.universal_ner_{subset.replace(".", "_").lower()}",
f'recipes.bluebench.entity_extraction.universal_ner_{subset.replace(".", "_").lower()}',
overwrite=True,
)

Expand Down

0 comments on commit 7e0898f

Please sign in to comment.