Open asmith26 opened 2 months ago
Hi @asmith26, thanks! I don't think that Unsloth supports this formatting but you can check in the code (https://github.com/unslothai/unsloth). I'd recommend manually formatting the expected answer (including JSON function calling) in the assistant's content.
Hi @mlabonne, Firstly, thanks very much for your article on Fine-tune Llama 3.1 Ultra-Efficiently with Unsloth!
I'm hoping to learn more about how to fine-tune Llama3.1 for tool calls/function calling - just wondering do you know if we have to change anything regarding unsloth or the dataset? In particular, I've used the standard chat format for finetuning before, e.g. something like:
Not sure if the data format changes regarding fine-tuning for function calling e.g. maybe something like:
Thanks for any help! :)