suriya7 commited on
Commit
0f4223a
·
verified ·
1 Parent(s): 769181d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ tokenizer = AutoTokenizer.from_pretrained(checkpoint)
14
  model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
15
 
16
 
17
- ef run_generation(user_text, top_p, temperature, top_k, max_new_tokens):
18
  alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
19
 
20
  ### Instruction:
 
14
  model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
15
 
16
 
17
+ def run_generation(user_text, top_p, temperature, top_k, max_new_tokens):
18
  alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
19
 
20
  ### Instruction: