From fb384e2ef5447c136c55e5a08472462ca2d46bfd Mon Sep 17 00:00:00 2001 From: menamerai Date: Mon, 19 Feb 2024 16:40:54 -0500 Subject: [PATCH] added static file folder --- scripts/label_all_tokens.py | 1 - scripts/map_tokens.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/label_all_tokens.py b/scripts/label_all_tokens.py index 6519eaca..23e99eb4 100644 --- a/scripts/label_all_tokens.py +++ b/scripts/label_all_tokens.py @@ -35,7 +35,6 @@ def main(): args = parser.parse_args() # Access command-line arguments - model_name = args.model_name print("\n", " LABEL ALL TOKENS ".center(50, "="), "\n") diff --git a/scripts/map_tokens.py b/scripts/map_tokens.py index 2acea2da..63d2a006 100644 --- a/scripts/map_tokens.py +++ b/scripts/map_tokens.py @@ -2,6 +2,7 @@ import argparse import pickle +from importlib.resources import files from delphi.constants import STATIC_ASSETS_DIR from delphi.eval.token_map import token_map