mudogruer commited on
Commit
cbb6cf1
·
verified ·
1 Parent(s): 3998848

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -46,7 +46,9 @@ phi2 = pipeline(
46
  device_map="cpu",
47
  )
48
 
49
- examples = ["Which organelle carries out the synthesis and packaging of digestive enzymes?", "What is the change in speed of a moving object per unit time?" ,"What is the formula of carbon tetrafluoride?"]
 
 
50
 
51
  def generate(message, max_new_tokens):
52
  instruction = "You are a helpful assistant to 'User'. You do not respond as 'User' or pretend to be 'User'. You only respond once as 'Assistant'."
 
46
  device_map="cpu",
47
  )
48
 
49
+ examples = [["Which organelle carries out the synthesis and packaging of digestive enzymes?"],
50
+ ["What is the change in speed of a moving object per unit time?"] ,
51
+ ["What is the formula of carbon tetrafluoride?"]]
52
 
53
  def generate(message, max_new_tokens):
54
  instruction = "You are a helpful assistant to 'User'. You do not respond as 'User' or pretend to be 'User'. You only respond once as 'Assistant'."