baichuan-inc / Baichuan2

A series of large language models developed by Baichuan Intelligent Technology
https://huggingface.co/baichuan-inc
Apache License 2.0
4.03k stars 289 forks source link

内置的role只有,system, user,assistant三种,是否支持新增role呢? #331

Open minmie opened 6 months ago

minmie commented 6 months ago

内置的role只有,system, user,assistant三种,是否支持新增role呢? 我想微调模型做工具调用,我希望新增一个observation的role,来表示工具的返回结果。所以想问下是否支持新增role?

或者说,是否有内置的未使用的token?像bert那样,我可以再下游微调的时候利用这个token当做observation。

以上,望解答!