From 91b7648f3338a55bcb45843f0eb63ae836644551 Mon Sep 17 00:00:00 2001 From: Joshua Vial Date: Sat, 9 Sep 2023 12:06:34 +1200 Subject: [PATCH] update model creation method --- benchmark/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 2d16653c8..72f007c49 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -547,7 +547,7 @@ def run_test( chat_history_file=history_fname, ) - main_model = models.Model(model_name) + main_model = models.Model.create(model_name) edit_format = edit_format or main_model.edit_format dump(main_model)