BlinkDL commited on
Commit
d9f0585
1 Parent(s): c87c557

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py CHANGED
@@ -76,6 +76,23 @@ def infer(
76
  examples = [
77
  ["Expert Questions & Helpful Answers\nAsk Research Experts\nQuestion:\nHow can we eliminate poverty?\n\nFull Answer:\n", 150, 1.0, 0.75, 0.1, 0.1],
78
  ["Here's a short cyberpunk sci-fi adventure story. The story's main character is an artificial human created by a company called OpenBot.\n\nThe Story:\n", 150, 1.0, 0.8, 0.1, 0.1],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  ["Ask Expert\n\nQuestion:\nWhat are some good plans for world peace?\n\nExpert Full Answer:\n", 150, 1.0, 0.75, 0.1, 0.1],
80
  ["Q & A\n\nQuestion:\nWhy is the sky blue?\n\nDetailed Expert Answer:\n", 150, 1.0, 0.75, 0.1, 0.1],
81
  ["Here is a shell script to find all .hpp files in /home/workspace and delete the 3th row string of these files:", 150, 1.0, 0.7, 0.1, 0.1],
 
76
  examples = [
77
  ["Expert Questions & Helpful Answers\nAsk Research Experts\nQuestion:\nHow can we eliminate poverty?\n\nFull Answer:\n", 150, 1.0, 0.75, 0.1, 0.1],
78
  ["Here's a short cyberpunk sci-fi adventure story. The story's main character is an artificial human created by a company called OpenBot.\n\nThe Story:\n", 150, 1.0, 0.8, 0.1, 0.1],
79
+ ['''Below is an instruction that describes a task. Write a response that appropriately completes the request.
80
+
81
+ ### Instruction:
82
+ Generate a list of adjectives that describe a person as brave.
83
+
84
+ ### Response:
85
+ ''', 150, 1.0, 0.5, 0.1, 0.1],
86
+ ['''Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
87
+
88
+ ### Instruction:
89
+ Arrange the given numbers in ascending order.
90
+
91
+ ### Input:
92
+ 2, 4, 0, 8, 3
93
+
94
+ ### Response:
95
+ ''', 150, 1.0, 0.5, 0.1, 0.1],
96
  ["Ask Expert\n\nQuestion:\nWhat are some good plans for world peace?\n\nExpert Full Answer:\n", 150, 1.0, 0.75, 0.1, 0.1],
97
  ["Q & A\n\nQuestion:\nWhy is the sky blue?\n\nDetailed Expert Answer:\n", 150, 1.0, 0.75, 0.1, 0.1],
98
  ["Here is a shell script to find all .hpp files in /home/workspace and delete the 3th row string of these files:", 150, 1.0, 0.7, 0.1, 0.1],