LLM Fine-tuning Use Case
Generate Code Documentation
Code needs good documentation—it improves comprehension and enables programmers to collaborate efficiently. However, manual docstring creation is time-consuming and often neglected due to tight deadlines. Learn how to fine-tune an open-source LLM to automatically generate high-quality documentation.
The Predibase Solution
Generate accurate docstrings with LLMs
- Fine-tune CodeLlama with <6,000 data points to improve the accuracy of docstring generation
- Instantly deploy and query your fine-tuned LLM on serverless endpoints
- Save developers hours of time by automating the creation of documentation
Fine-tune and serve your own LLM for Document generation
Easily and efficiently fine-tune open-source CodeLLama with built-in optimizations such as quantization and LoRA to generate high-quality docstrings. Instantly serve and prompt your fine-tuned LLM with cost-efficient serverless endpoints built on top of open-source LoRAX. Read the full tutorial and follow along with this Colab notebook.
Resources to Get Started
Read the Tutorial
Check out our step-by-step tutorial to learn how you can fine-tune an LLM for docstring generation.
Download the Guidebook
Download our definitive guide to fine-tuning to get practical advice and best practices for tackling the 4 biggest challenges of fine-tuning.
Run the Notebook
Get started with documentation generation using this Colab notebook. Use your Predibase account or sign up for the free trial.