Update app.py
Browse files
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=
|
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,
|