jdesiree commited on
Commit
9aa77ed
·
verified ·
1 Parent(s): dbbb319

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -18,12 +18,10 @@ if "HUGGINGFACEHUB_API_TOKEN" not in os.environ:
18
 
19
  # --- LLM and Template Configuration ---
20
  llm = HuggingFaceEndpoint(
21
- repo_id="Qwen/Qwen3-4B-Instruct-2507",
22
  temperature=0.7,
23
- top_p=0.8,
24
- top_k=20,
25
  max_new_tokens=1024,
26
- task="conversational",
27
  huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
28
  )
29
  math_template = ChatPromptTemplate.from_messages([
 
18
 
19
  # --- LLM and Template Configuration ---
20
  llm = HuggingFaceEndpoint(
21
+ repo_id="meta-llama/Llama-3.2-3B-Instruct",
22
  temperature=0.7,
23
+ top_p=0.9,
 
24
  max_new_tokens=1024,
 
25
  huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
26
  )
27
  math_template = ChatPromptTemplate.from_messages([