Update app.py
Browse files
app.py
CHANGED
|
@@ -540,8 +540,6 @@ def get_response_from_llama(query, model, selected_docs, file_type, num_calls=1,
|
|
| 540 |
max_tokens=1000, # Reduced to ensure we stay within token limits
|
| 541 |
temperature=temperature,
|
| 542 |
stream=True,
|
| 543 |
-
repetition_penalty=1.1,
|
| 544 |
-
top_k=50,
|
| 545 |
top_p=0.9,
|
| 546 |
):
|
| 547 |
if response.token.text:
|
|
|
|
| 540 |
max_tokens=1000, # Reduced to ensure we stay within token limits
|
| 541 |
temperature=temperature,
|
| 542 |
stream=True,
|
|
|
|
|
|
|
| 543 |
top_p=0.9,
|
| 544 |
):
|
| 545 |
if response.token.text:
|