Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Fine-tune llama3 model to support function calling (github.com/michaelnny)
3 points by _bifc 10 months ago | hide | past | favorite | 5 comments
Few weeks ago, we were tasked to make llama3 model to do function calling and build an API similar/compatible with OpenAI's python client.

While we're still improving our dataset and FastAPI backend server (which can't be open-sourced), we're happy to share with the community our open-sourced project of how to properly fine-tune llama3 model to support function calling, all following OpenAI's best practices.

We hope this will help other people with similar tasks/needs, happy to answer any questions.




In case anyone is interested, we have a very simple notebook which try to trick GPT-4o to reveal the structure of the prompt/response related to function calling, and it's located at:

https://github.com/michaelnny/Llama3-FunctionCalling/blob/ma...


The link seems to be broken


Sorry forgot to change repo visibility, it's now public


link is broken


Sorry forgot to change repo visibility, it's now public




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: