khaimai commited on
Commit
c4d7621
·
verified ·
1 Parent(s): a234ce0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -51,6 +51,8 @@ tools = [
51
  }
52
  }
53
  ]
 
 
54
  messages = [{"role": "user", "content": "What is the weather in Istanbul and Singapore respectively?"}]
55
 
56
  final_prompt = tokenizer.apply_chat_template(messages, tools, add_generation_prompt=True, tokenize=False)
 
51
  }
52
  }
53
  ]
54
+ # add this to make model to generate the reasoning first
55
+ tools.append({"type": "reasoning"})
56
  messages = [{"role": "user", "content": "What is the weather in Istanbul and Singapore respectively?"}]
57
 
58
  final_prompt = tokenizer.apply_chat_template(messages, tools, add_generation_prompt=True, tokenize=False)