Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ def predict(instruction, topp, max_new_tokens, temperature):
|
|
13 |
instruction = instruction + " [EOI]"
|
14 |
x = generate(instruction,
|
15 |
do_sample=True,
|
16 |
-
max_length=64,
|
17 |
top_p=topp,
|
18 |
num_return_sequences=1,
|
19 |
max_new_tokens=max_new_tokens,
|
|
|
13 |
instruction = instruction + " [EOI]"
|
14 |
x = generate(instruction,
|
15 |
do_sample=True,
|
|
|
16 |
top_p=topp,
|
17 |
num_return_sequences=1,
|
18 |
max_new_tokens=max_new_tokens,
|