Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,9 +61,6 @@ def stream_chat(
|
|
61 |
model,
|
62 |
max_tokens=max_new_tokens,
|
63 |
temperature=temperature,
|
64 |
-
top_p = top_p,
|
65 |
-
top_k = top_k,
|
66 |
-
repetition_penalty=penalty,
|
67 |
eos_id=tokenizer.instruct_tokenizer.tokenizer.eos_id)
|
68 |
|
69 |
result = tokenizer.instruct_tokenizer.tokenizer.decode(out_tokens[0])
|
|
|
61 |
model,
|
62 |
max_tokens=max_new_tokens,
|
63 |
temperature=temperature,
|
|
|
|
|
|
|
64 |
eos_id=tokenizer.instruct_tokenizer.tokenizer.eos_id)
|
65 |
|
66 |
result = tokenizer.instruct_tokenizer.tokenizer.decode(out_tokens[0])
|