Update agent.py
Browse files
agent.py
CHANGED
|
@@ -19,10 +19,10 @@ def build_graph():
|
|
| 19 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
| 20 |
task="text-generation",
|
| 21 |
huggingfacehub_api_token=os.environ["HF_TOKEN"],
|
| 22 |
-
model_kwargs={
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
}
|
| 26 |
)
|
| 27 |
|
| 28 |
# Retriever node (unchanged)
|
|
|
|
| 19 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
| 20 |
task="text-generation",
|
| 21 |
huggingfacehub_api_token=os.environ["HF_TOKEN"],
|
| 22 |
+
# model_kwargs={
|
| 23 |
+
# "max_new_tokens": 512,
|
| 24 |
+
# "temperature": 0.1
|
| 25 |
+
# }
|
| 26 |
)
|
| 27 |
|
| 28 |
# Retriever node (unchanged)
|