Spaces:
Configuration error
Configuration error
oremaz
commited on
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -73,10 +73,10 @@ proj_llm = HuggingFaceLLM(
|
|
| 73 |
tokenizer_name=model_id,
|
| 74 |
device_map="auto",
|
| 75 |
model_kwargs={"torch_dtype": "auto"},
|
|
|
|
| 76 |
generate_kwargs={
|
| 77 |
"temperature": 0.1,
|
| 78 |
-
"top_p": 1.0
|
| 79 |
-
"max_new_tokens": 100000
|
| 80 |
}
|
| 81 |
)
|
| 82 |
|
|
|
|
| 73 |
tokenizer_name=model_id,
|
| 74 |
device_map="auto",
|
| 75 |
model_kwargs={"torch_dtype": "auto"},
|
| 76 |
+
max_new_tokens = 100000
|
| 77 |
generate_kwargs={
|
| 78 |
"temperature": 0.1,
|
| 79 |
+
"top_p": 1.0
|
|
|
|
| 80 |
}
|
| 81 |
)
|
| 82 |
|