acecalisto3 commited on
Commit
66cb5d1
·
verified ·
1 Parent(s): 326f2b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,7 +35,7 @@ client = InferenceClient(
35
 
36
  VERBOSE = True
37
  MAX_HISTORY = 100
38
- MODEL = "gpt-3.5-turbo" # "gpt-4"
39
 
40
 
41
  def format_prompt(message, history):
@@ -93,7 +93,7 @@ def compress_history(purpose, task, history, directory):
93
  resp = run_gpt(
94
  COMPRESS_HISTORY_PROMPT,
95
  stop_tokens=["observation:", "task:", "action:", "thought:"],
96
- max_tokens=512,
97
  purpose=purpose,
98
  task=task,
99
  history=history,
 
35
 
36
  VERBOSE = True
37
  MAX_HISTORY = 100
38
+ MODEL = mistralai/Mixtral-8x7B-Instruct-v0.1"
39
 
40
 
41
  def format_prompt(message, history):
 
93
  resp = run_gpt(
94
  COMPRESS_HISTORY_PROMPT,
95
  stop_tokens=["observation:", "task:", "action:", "thought:"],
96
+ max_tokens=5096,
97
  purpose=purpose,
98
  task=task,
99
  history=history,