icashwave commited on
Commit
f85310d
1 Parent(s): 916a0ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -76,8 +76,17 @@ Response:"""
76
  Answer:"""
77
 
78
  # Evaluation logic
 
 
 
 
 
 
 
 
79
  def evaluate(
80
- ctx,
 
81
  token_count=200,
82
  temperature=1.0,
83
  top_p=0.7,
 
76
  Answer:"""
77
 
78
  # Evaluation logic
79
+ #def evaluate(
80
+ # ctx,
81
+ # token_count=200,
82
+ # temperature=1.0,
83
+ # top_p=0.7,
84
+ # presencePenalty = 0.1,
85
+ # countPenalty = 0.1,
86
+ #):
87
  def evaluate(
88
+ instruction,
89
+ input=None,
90
  token_count=200,
91
  temperature=1.0,
92
  top_p=0.7,