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 operational costs and improving accuracy. This post details an experiment to beat proprietary embedding models with a quick fine-tune, demonstrating that with just a handful of examples, a fine-tuned open-source embedding model can provide greater accuracy at a lower price than proprietary models like OpenAI's `text-embedding-3-small`.
All Modal trails