1. 概述
本文使用slime中集成的retoot观察其工具调用能力
2. 实验流程
按照slime quick start文档中,所述,准备好基础环境,本次实验以qwen3-4B-instruct为例
将hugging_face格式的qwen3-4B-instruct转换为megatron格式
PYTHONPATH=/root/Megatron-LM python tools/convert_hf_to_torch_dist.py \\
${MODEL_ARGS[@]} \\
--hf-checkpoint /root/GLM-Z1-9B-0414 \\
--save /root/GLM-Z1-9B-0414_torch_dist执行对应的examples/retool路径下脚本即可
bash examples/retool/retool-qwen3-4b-rl.sh