modelscope / ms-swift

Use PEFT or Full-parameter to finetune 300+ LLMs or 80+ MLLMs. (Qwen2, GLM4v, Internlm2.5, Yi, Llama3.1, Llava-Video, Internvl2, MiniCPM-V-2.6, Deepseek, Baichuan2, Gemma2, Phi3-Vision, ...)
https://swift.readthedocs.io/zh-cn/latest/Instruction/index.html
Apache License 2.0
3.41k stars 292 forks source link

agent微调数据自制,header信息如何添加? #544

Closed evyy1234 closed 2 weeks ago

evyy1234 commented 6 months ago

MSAgent-Bench的数据格式,system: 表示给模型前置的人设输入,其中有告诉模型如何调用插件以及生成请求,并没有看到再请求api时如何添加header信息的说明,请问下这部分的格式是怎么样的??

tastelikefeet commented 2 weeks ago

https://swift.readthedocs.io/zh-cn/latest/LLM/Agent%E5%BE%AE%E8%B0%83%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.html