May 2026
Intermediate
376 pages
9h 52m
English
This chapter walks through an end-to-end example of fine-tuning a small model (GPT-2 small) for a specific task. This approach will apply to fine-tuning any GPT-like model for generative tasks.
In this chapter, we’ll fine-tune the GPT-2 small model (https://huggingface.co/openai-community/gpt2) to generate working Manim code from natural-language prompts. Manim (https://github.com/ManimCommunity/manim) is an open source Python animation engine for explanatory math videos—it creates ...
Read now
Unlock full access