PranjalZetsu commited on
Commit
8fd2655
Β·
verified Β·
1 Parent(s): b0d7821

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -32,11 +32,7 @@ print("Model ready!")
32
  def generate_response(message, history):
33
  # Format the prompt exactly how your agent was trained
34
  prompt = (
35
- "System: You are an elite AI Semiconductor Process Engineer optimizing Fab Yield. "
36
- "You are also a world-class expert in all fields related to materials science, "
37
- "including thermodynamics, crystallography, polymers, metallurgy, and nanomaterials.\n\n"
38
- f"User: {message}\n\n"
39
- "Assistant:"
40
  )
41
 
42
  inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
 
32
  def generate_response(message, history):
33
  # Format the prompt exactly how your agent was trained
34
  prompt = (
35
+ prompt = f"System: You are an AI Semiconductor Process Engineer. Output your reasoning in <think> tags, your diagnosis in <diagnosis> tags, and your parameter adjustments in <experiment> tags.\n\nUser: {message}\n\nAssistant:"
 
 
 
 
36
  )
37
 
38
  inputs = tokenizer(prompt, return_tensors="pt").to("cuda")