ShareGPT tool datasets handling #1768
-
I would like to similarly treat any other tool handling dataset like for example this version of glaive lilacai/glaive-function-calling-v2-sharegpt , which already is in sharegpt, or similarly any other custom dataset of that format. datasets: It would be nice if someone could help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Terribly sorry we missed this post. I just found this while going through discussions. I'm leaving this answer below for any future readers. A few months ago, we have added improved support for other roles and chat_template support. For current axolotl, the way to load this dataset datasets:
- path: lilacai/glaive-function-calling-v2-sharegpt
type: chat_template
chat_template: chatml
message_field_role: from
message_field_content: value
field_messages: conversations Note; This dataset adds |
Beta Was this translation helpful? Give feedback.
Terribly sorry we missed this post. I just found this while going through discussions. I'm leaving this answer below for any future readers.
A few months ago, we have added improved support for other roles and chat_template support.
For current axolotl, the way to load this dataset
Note; This dataset adds
<|endoftext|>
in its text, so you may want to use it for EOS (which would conflict with normal chatml). An alternative would be to use your own customchat_template_jin…