Fine-tuning Generative Models
What this trail covers
Modal's platform supports fine-tuning generative models on custom datasets, enabling users to prepare datasets, set up containerized environments with necessary dependencies, utilize cloud storage for model weights, and configure training hyperparameters. The process includes training scripts, hyperparameter configuration, and serving the fine-tuned model via a web UI. Ramp has utilized Modal to accelerate the development of their text-to-structured-JSON model for receipt management, driving down costs and improving performance. Spindle, an open-source, Tinker-compatible training server, has been released to run within Modal workspaces, offering per-GPU time pricing and customization for full-parameter training and multi-LoRA on open models. It features a distributed control plane, disaggregated trainer engines, and leverages Modal primitives like Clusters, Volumes, and Servers. Spindle enables multi-client batch scheduling, async checkpointing, delta weight syncs, and custom inference routing for multi-LoRA and KV-aware request routing, leading to significant cost savings and improved GPU utilization compared to token-based pricing models.
All Modal trails