Views
No views yet
1def build_MENTOR_chat_template(question, tokenizer):
2 system_prompt = (
3 "You are a helpful AI Assistant that provides well-reasoned and detailed responses. "
4 "You FIRST think about the reasoning process as an internal monologue and "
5 "then provide the final answer. The reasoning process MUST BE enclosed "
6 "within <think> </think> tags. The final answer MUST BE put in \\boxed{}."
7 )
8 return tokenizer.apply_chat_template(
9 [
10 {"role": "system", "content": system_prompt},
11 {"role": "user", "content": question}
12 ],
13 tokenize=False,
14 add_generation_prompt=True
15 )@article{jiang2025selective,
title={Selective Expert Guidance for Effective and Diverse Exploration in Reinforcement Learning of LLMs},
author={Jiang, Zishang and Han, Jinyi and Li, Tingyun and Wang, Xinyi and Jiang, Sihang and Liang, Jiaqing and Dai, Zhaoqian and Ma, Shuguang and Yu, Fei and Xiao, Yanghua},
journal={arXiv preprint arXiv:2510.04140},
year={2025}
}