Omnibus commited on
Commit
47f0019
·
1 Parent(s): d2091db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,7 +45,7 @@ def parse_action(string: str):
45
 
46
  VERBOSE = True
47
  MAX_HISTORY = 100
48
- MAX_DATA = 1000
49
 
50
  def format_prompt(message, history):
51
  prompt = "<s>"
@@ -123,7 +123,7 @@ def compress_data(c, history):
123
  resp = run_gpt(
124
  COMPRESS_DATA_PROMPT_SMALL,
125
  stop_tokens=["observation:", "task:", "action:", "thought:"],
126
- max_tokens=2048,
127
  seed=seed,
128
  purpose="Compress data",
129
  knowledge=new_history,
@@ -138,7 +138,7 @@ def compress_data(c, history):
138
  resp = run_gpt(
139
  COMPRESS_DATA_PROMPT,
140
  stop_tokens=["observation:", "task:", "action:", "thought:"],
141
- max_tokens=1024,
142
  seed=seed,
143
  purpose="Compile report",
144
  knowledge=new_history,
 
45
 
46
  VERBOSE = True
47
  MAX_HISTORY = 100
48
+ MAX_DATA = 20000
49
 
50
  def format_prompt(message, history):
51
  prompt = "<s>"
 
123
  resp = run_gpt(
124
  COMPRESS_DATA_PROMPT_SMALL,
125
  stop_tokens=["observation:", "task:", "action:", "thought:"],
126
+ max_tokens=4096,
127
  seed=seed,
128
  purpose="Compress data",
129
  knowledge=new_history,
 
138
  resp = run_gpt(
139
  COMPRESS_DATA_PROMPT,
140
  stop_tokens=["observation:", "task:", "action:", "thought:"],
141
+ max_tokens=4096,
142
  seed=seed,
143
  purpose="Compile report",
144
  knowledge=new_history,