johann22 commited on
Commit
3bf3810
·
verified ·
1 Parent(s): 44ab680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -200,7 +200,7 @@ def compress_data_og(c, instruct, history, seed):
200
  #out=""
201
  s=0
202
  e=chunk
203
- print(f'e:: {e}')
204
  new_history=""
205
  #task = f'Compile this data to fulfill the task: {task}, and complete the purpose: {purpose}\n'
206
  for z in range(divi):
@@ -211,7 +211,7 @@ def compress_data_og(c, instruct, history, seed):
211
  resp = run_gpt(
212
  COMPRESS_DATA_PROMPT,
213
  stop_tokens=["observation:", "task:", "action:", "thought:"],
214
- max_tokens=40000,
215
  seed=seed,
216
  direction=instruct,
217
  knowledge=new_history,
 
200
  #out=""
201
  s=0
202
  e=chunk
203
+ #print(f'e:: {e}')
204
  new_history=""
205
  #task = f'Compile this data to fulfill the task: {task}, and complete the purpose: {purpose}\n'
206
  for z in range(divi):
 
211
  resp = run_gpt(
212
  COMPRESS_DATA_PROMPT,
213
  stop_tokens=["observation:", "task:", "action:", "thought:"],
214
+ max_tokens=18000,
215
  seed=seed,
216
  direction=instruct,
217
  knowledge=new_history,