tboen1 commited on
Commit
9e686cb
·
verified ·
1 Parent(s): b044764

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ evaluation_instruction = (f"Here's a question: {question_string}. "
33
 
34
  # TextLoss is a natural-language specified loss function that describes
35
  # how we want to evaluate the reasoning.
36
- loss_fn = tg.TextLoss(evaluation_instruction)
37
 
38
  # Step 3: Do the loss computation, backward pass, and update the punchline.
39
  # Exact same syntax as PyTorch!
 
33
 
34
  # TextLoss is a natural-language specified loss function that describes
35
  # how we want to evaluate the reasoning.
36
+ loss_fn = tg.TextLoss(eval_system_prompt = evaluation_instruction)
37
 
38
  # Step 3: Do the loss computation, backward pass, and update the punchline.
39
  # Exact same syntax as PyTorch!