ashioyajotham commited on
Commit
e390ac2
1 Parent(s): f3676ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ prompt = "Generate a Python script to add prime numbers between one and ten"
11
 
12
  inputs = tokenizer.encode(prompt, return_tensors='pt')
13
 
14
- outputs = model.generate(inputs, max_length=100, temperature = .7, do_sample=True, pad_token_id=tokenizer.eos_token_id)
15
 
16
  completion = tokenizer.decode(outputs[0])
17
 
 
11
 
12
  inputs = tokenizer.encode(prompt, return_tensors='pt')
13
 
14
+ outputs = fine_tuned_model.generate(inputs, max_length=100, temperature = .7, do_sample=True, pad_token_id=tokenizer.eos_token_id)
15
 
16
  completion = tokenizer.decode(outputs[0])
17