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] Allow FormatTextGenerationSFT to include tools/function calls in the formatted messages. #737

Open
plaguss opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@plaguss
Copy link
Contributor

plaguss commented Jun 17, 2024

Is your feature request related to a problem? Please describe.
With the new StructuredGeneration task we can generate datasets for function calling, and we could simplify preparing the dataset for training.

Describe the solution you'd like
Extend FormatTextGenerationSFT (FormatChatGenerationSFT too?) to include the available tools and the function calls

Describe alternatives you've considered
Let the user do it on its own.

Additional context
Use the format from Mistral function calling.

@plaguss plaguss added the enhancement New feature or request label Jun 17, 2024
@plaguss plaguss self-assigned this Jun 17, 2024
@plaguss plaguss added this to the 1.3.0 milestone Jun 17, 2024
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

1 participant