Spaces:
Runtime error
Runtime error
changed LLM instance loader. again.
Browse files
crew.py
CHANGED
|
@@ -328,6 +328,8 @@ def explain_dementia_risk_lifestyle(docID: str) -> str:
|
|
| 328 |
# Load LLM from huggingface repos
|
| 329 |
llm = LLM(
|
| 330 |
model="huggingface/meta-llama/Meta-Llama-3.1-8B-Instruct",
|
|
|
|
|
|
|
| 331 |
api_key=os.getenv("HF_TOKEN")
|
| 332 |
)
|
| 333 |
|
|
|
|
| 328 |
# Load LLM from huggingface repos
|
| 329 |
llm = LLM(
|
| 330 |
model="huggingface/meta-llama/Meta-Llama-3.1-8B-Instruct",
|
| 331 |
+
temperature=0.7,
|
| 332 |
+
max_tokens=512,
|
| 333 |
api_key=os.getenv("HF_TOKEN")
|
| 334 |
)
|
| 335 |
|