samzito12 commited on
Commit
d2e4246
·
verified ·
1 Parent(s): 8c14c4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ model = AutoModelForCausalLM.from_pretrained(
20
  print("✅ Downloaded model with CPU optimisations")
21
  model.eval()
22
 
23
- SYSTEM_PROMPT = "You are a helpful AI coding assistant based on Meta's Llama-3.2-3B model. Your task is to assist users with programming-related questions: write code snippets, debug code, explain concepts clearly, and provide best practices. Always respond in a concise, clear, and friendly manner, and adapt your explanations to the users level.
24
  "
25
 
26
  def chat(message, history, temperature=1.5, max_tokens=128):
 
20
  print("✅ Downloaded model with CPU optimisations")
21
  model.eval()
22
 
23
+ SYSTEM_PROMPT = "You are a helpful AI coding assistant based on Meta\'s Llama-3.2-3B model. Your task is to assist users with programming-related questions: write code snippets, debug code, explain concepts clearly, and provide best practices. Always respond in a concise, clear, and friendly manner, and adapt your explanations to the user\’s level.
24
  "
25
 
26
  def chat(message, history, temperature=1.5, max_tokens=128):