plutoa386 commited on
Commit
9c32464
·
1 Parent(s): 566c7b6

changed LLM instance loader. again.

Browse files
Files changed (1) hide show
  1. crew.py +2 -0
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