kaikaidai commited on
Commit
3261484
·
verified ·
1 Parent(s): 25afc99

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. model_handler.py +3 -0
model_handler.py CHANGED
@@ -152,8 +152,11 @@ def select_evaluators(criteria_group, df_state, prompt_state, save_prompt_button
152
  elif column == 'expected_model_output':
153
  expected_output = str(row[column])
154
 
 
 
155
  # Render the template for Judge B
156
  current_prompt = template.render(**context)
 
157
  response_a = get_atla_response(
158
  "atla-selene",
159
  model_input=context.get('model_input'),
 
152
  elif column == 'expected_model_output':
153
  expected_output = str(row[column])
154
 
155
+ context['evaluation_criteria'] = evaluation_criteria
156
+
157
  # Render the template for Judge B
158
  current_prompt = template.render(**context)
159
+ print(f"\nDEBUG - Final Prompt sent to Model B:\n{current_prompt}\n")
160
  response_a = get_atla_response(
161
  "atla-selene",
162
  model_input=context.get('model_input'),