Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support for Function Calling Fine-tuning #90

Open
1 of 2 tasks
jc-ryan opened this issue Nov 18, 2024 · 1 comment
Open
1 of 2 tasks

[Feature Request] Support for Function Calling Fine-tuning #90

jc-ryan opened this issue Nov 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jc-ryan
Copy link

jc-ryan commented Nov 18, 2024

Required prerequisites

Motivation

Function calling has become a mainstream approach for fine-tuning LLMs to enhance their tool usage capabilities. I have two related questions:

  1. Is there any plan to add support for function calling fine-tuning in this repository?
  2. If I want to implement function calling fine-tuning myself, what modifications would be needed in the codebase?

Any clarification would be greatly appreciated. Thank you!

Solution

No response

Alternatives

No response

Additional context

No response

@jc-ryan jc-ryan added the enhancement New feature or request label Nov 18, 2024
@Gaiejj
Copy link
Member

Gaiejj commented Jan 8, 2025

I am very sorry for the late reply. In fact, we did not include the fine-tuning of function calling in our development plan. However, I carefully read your requirements and found that this can be easily integrated into the align-anything framework. You can refer to the implementation of align_anything/configs/format_dataset.py and the getting started documentation, and achieve this functionality by customizing the template for the function calling fine-tuning dataset.

Sure, you can also specify the model and dataset you require; we are willing to support you and provide runnable scripts directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants