tdoehmen commited on
Commit
b9bebac
1 Parent(s): c010ad7

don't save standard prompt

Browse files
Files changed (1) hide show
  1. evaluation_logic.py +1 -1
evaluation_logic.py CHANGED
@@ -64,7 +64,7 @@ def save_evaluation(inference_api, model_name, prompt_format, custom_prompt, met
64
  "inference_api": inference_api,
65
  "model_name": model_name,
66
  "prompt_format": prompt_format,
67
- "custom_prompt": str(custom_prompt),
68
  "timestamp": datetime.now().isoformat()
69
  }
70
 
 
64
  "inference_api": inference_api,
65
  "model_name": model_name,
66
  "prompt_format": prompt_format,
67
+ "custom_prompt": str(custom_prompt) if prompt_format.startswith("custom") else "",
68
  "timestamp": datetime.now().isoformat()
69
  }
70