naot97 commited on
Commit
7885fc0
1 Parent(s): b48f19a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -79,11 +79,11 @@ def evaluate(
79
  instruction,
80
  **kwargs,
81
  ):
82
- temperature=0.1,
83
- top_p=0.75,
84
- top_k=40,
85
- num_beams=4,
86
- max_new_tokens=128,
87
  prompt = instruction
88
  inputs = tokenizer(prompt, return_tensors="pt")
89
  input_ids = inputs["input_ids"].to(device)
 
79
  instruction,
80
  **kwargs,
81
  ):
82
+ temperature=0.1
83
+ top_p=0.75
84
+ top_k=40
85
+ num_beams=4
86
+ max_new_tokens=128
87
  prompt = instruction
88
  inputs = tokenizer(prompt, return_tensors="pt")
89
  input_ids = inputs["input_ids"].to(device)