From cf3b8ca20eb86159199ad52b726650a5a25cd30d Mon Sep 17 00:00:00 2001 From: Shizhe Diao Date: Wed, 22 Oct 2025 20:59:23 -0700 Subject: [PATCH] fixed a bug in base_eval.py --- scripts/base_eval.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/base_eval.py b/scripts/base_eval.py index ea28034..da5e6d6 100644 --- a/scripts/base_eval.py +++ b/scripts/base_eval.py @@ -40,8 +40,6 @@ from nanochat.core_eval import evaluate_task model_tag = None # optional model tag for the output directory name step = None # optional model step for the output directory name hf_path = None # optional HuggingFace model path (if set, will load from HF instead of local) -config_keys = [k for k, v in globals().items() if not k.startswith('_') and isinstance(v, (int, float, bool, str, type(None)))] -exec(open(os.path.join('nanochat', 'configurator.py')).read()) # overrides from command line or config file # ----------------------------------------------------------------------------- # nanoChat specific function dealing with I/O etc.