Fine-tuning pipeline for teaching GPTs to use APIs
Top 33.1% on sourcepulse
LlamaAcademy enables developers to train large language models (LLMs) to interact with specific APIs, such as Stripe or Notion. This experimental project targets developers seeking to create custom GPTs capable of generating API integration code, thereby reducing the need for manual API documentation hosting and simplifying API glue code generation.
How It Works
The project employs a pipeline that combines web crawling of API documentation, data generation using OpenAI's GPT-3.5 and GPT-4, and fine-tuning of the Vicuna-13B model on this synthetic data. This approach aims to teach LLMs to understand and utilize API specifications programmatically.
Quick Start & Requirements
firefox
, elinks
, and Python dependencies from environment.yaml
. An OpenAI API key is mandatory.Highlighted Details
Maintenance & Community
The project is maintained by danielgross. No specific community channels or roadmap are detailed in the README.
Licensing & Compatibility
The repository does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The project is experimental and has not yet consistently generated high-quality code. The data generation process, particularly screen scraping and GPT-4 calls, can be time-consuming and costly. The memorizing.py
module is still under construction.
2 years ago
1 day