salma-remyx commited on
Commit
583ea10
·
1 Parent(s): bbbd1e2

update system prompt

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -30,11 +30,10 @@ def gpu_inference(image_path: str, prompt: str) -> str:
30
 
31
  # Build conversation
32
  system_msg = (
33
- "You are a Vision Language Model specialized in interpreting visual data from images.\n"
34
- "Your task is to analyze the provided image and respond to queries with concise answers, "
35
- "usually a single word, number, or short phrase.\n"
36
- "Focus on delivering accurate, succinct answers based on the visual information. Avoid "
37
- "additional explanation unless absolutely necessary."
38
  )
39
  conversation = [
40
  {"role": "system", "content": [{"type": "text", "text": system_msg}]},
 
30
 
31
  # Build conversation
32
  system_msg = (
33
+ "You are VL-Thinking U+1F914, a helpful assistant with excellent reasoning ability.\n"
34
+ "A user asks you a question, and you should try to solve it."
35
+ "You should first think about the reasoning process in the mind and then provides the user with the answer.\n"
36
+ "The reasoning process and answer are enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>."
 
37
  )
38
  conversation = [
39
  {"role": "system", "content": [{"type": "text", "text": system_msg}]},