December 2022 Summaries
2 posts from Predibase
Filter
Month:
Year:
Post Summaries
Back to Blog
Ludwig, an open-source declarative machine learning framework, has expanded its capabilities in version 0.6 by introducing gradient boosted tree (GBM) models for tabular data, complementing its existing support for neural network (NN) models. GBMs offer faster training speeds and often outperform NNs on small tabular datasets, particularly in cases with class imbalance, making them a valuable addition for users seeking a unified interface for model experimentation. While NNs remain versatile for handling various data types and multi-task learning, GBMs provide a competitive alternative for binary, categorical, or regression tasks with a single output feature. Ludwig's configuration allows easy switching between model types, enabling efficient comparisons and optimizations using its built-in preprocessing, hyperparameter tuning, and visualization tools. This enhancement positions Ludwig as a comprehensive platform for training diverse model types, and users are encouraged to participate in its growing community and explore enterprise solutions like Predibase for streamlined machine learning project management.
Dec 20, 2022
1,525 words in the original blog post.
Ludwig 0.6 introduces a new feature that allows exporting models into TorchScript, enhancing the deployment of machine learning models for efficient inference in production environments. This update supports the transition from vanilla Ludwig models, which involve separate preprocessing, prediction, and postprocessing stages, into fully serialized TorchScript models that do not require the original Python code. The new TorchScript-compatible models facilitate running inference with improved performance and reduced dependencies, providing flexibility across various environments, including mobile and C++. The introduction of a three-stage pipeline—comprising separate modules for preprocessing, prediction, and postprocessing—enables resource allocation optimization, such as deploying these stages on different devices (e.g., CPU and GPU) and pairing with model serving tools like NVIDIA Triton for independent scaling. Despite these advancements, there are certain limitations, such as initial limited support for HuggingFace encoders and specific preprocessing requirements for Image, Audio, and Date features. Overall, this feature aims to offer Ludwig users a more efficient, backend-independent, and scalable solution for deploying machine learning models, with further support available through Predibase, a Declarative ML platform built on Ludwig.
Dec 05, 2022
2,087 words in the original blog post.