From 3931df17a5f834c431312775d32c069be03813da Mon Sep 17 00:00:00 2001 From: Maximilian Kimmich <maximilian.kimmich@ims.uni-stuttgart.de> Date: Thu, 17 Oct 2024 12:10:04 +0200 Subject: [PATCH] Generate more diverse names --- evoprompt/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evoprompt/utils.py b/evoprompt/utils.py index 2d41444..8db75aa 100644 --- a/evoprompt/utils.py +++ b/evoprompt/utils.py @@ -82,6 +82,8 @@ def initialize_run_directory(model): system_message=None, prompt=RUN_NAME_PROMPT, use_randomness=True, + # a bit more randomness for the name is okay + temperature=1.2, ) run_name_match = re.search(r"^\w+$", response, re.MULTILINE) existing_run_names = os.listdir(RUNS_DIR) if RUNS_DIR.exists() else [] -- GitLab