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

How to Generate Retrieval Training and End-to-End Agent-Tuning for a Subset of APIs? #2

Open
ChesterXi opened this issue Oct 25, 2024 · 1 comment

Comments

@ChesterXi
Copy link

Hello, I'm currently working with a subset of APIs and I'm looking to generate Retrieval Training and perform End-to-End Agent-Tuning for these specific APIs. I would appreciate guidance on the best practices and steps to achieve this. Any relevant documentation or examples would be very helpful.

@Reason-Wang
Copy link
Owner

Hi, currently our data is mainly converted from ToolBench. If you want to generate some data for your own APIs, I would suggest you to follow the process in their repo, which means you could first sample some APIs, and then generate queries based on sampled APIs using few-shot prompt. This data can be used in retrieval training. Finally, use GPT-3.5 or GPT-4 to inference on these queries and take generated trajectories for agent-tuning.

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

No branches or pull requests

2 participants