Sulie’s platform enables easy fine-tuning of the Mimosa foundation model to meet specific forecasting needs. This process leverages LoRA (Low-Rank Adaptation) for efficient training, allowing you to adapt the model’s performance with minimal setup.Documentation Index
Fetch the complete documentation index at: https://docs.sulie.co/llms.txt
Use this file to discover all available pages before exploring further.
Info: Fine-tuning in Sulie is fully automated, including hyperparameter tuning and deployment, so you can focus on refining forecasts rather than handling MLOps complexities.
Fine-Tuning Overview
Sulie’s fine-tuning feature uses automated hyperparameter tuning to identify the most effective model parameters. The Weighted Quantile Loss (WQL) metric evaluates performance, ensuring each iteration yields optimal results.Requirements
- A Dataset or pandas DataFrame with at least 1,000 data points in the target column is required to initiate fine-tuning.
- Upon completion, Sulie automatically deploys your fine-tuned model, making it accessible via the same
forecastinterface.
Notifications
- Once a fine-tuning job completes, you’ll receive a confirmation email with the job’s status and performance summary.
Starting a Fine-Tuning Job
To initiate a fine-tuning job, use thefine_tune method on the Sulie client. You can specify the target column and provide an optional description to identify the fine-tuning job. Below is an example with a pandas.DataFrame.
Parameters for fine_tune
| Name | Description | Default |
|---|---|---|
dataset | A Dataset or pandas.DataFrame containing time series data for training. | Required |
target_col | Name of the column to optimize (forecast target). | Required |
id_col | Name of the column to group the DataFrame into series. | None |
description | Optional description of the fine-tuning job. | None |
Monitoring Fine-Tuning Jobs
To view the status of fine-tuning jobs, use thelist_fine_tuning_jobs method, which provides a comprehensive list of all ongoing and completed fine-tuning jobs.
Listing Deployed Models
You can view all deployed fine-tuned models usinglist_custom_models, which retrieves a list of all models available for inference.
list_custom_models method provides details on each model, including its ID, name, and deployment status, making it easy to identify and manage your deployed models.
Here’s how the documentation could look with an example on running forecasts using a custom model, incorporating both the list_custom_models and get_model methods for model retrieval.
Forecasting with Custom Models
Once you have fine-tuned a model, it is deployed automatically and available for custom forecasting. You can choose from your list of custom models or retrieve a specific model by name. This allows you to run forecasts with your personalized model, adapting to specific business requirements or forecast parameters.Retrieving a Custom Model for Forecasting
To use a custom model, you first need to retrieve it. You can either:- Use
list_custom_modelsto select from all available models, or - Use
get_modelwith a model name to retrieve a specific model directly.
Parameters for get_model
| Name | Description | Default |
|---|---|---|
model_name | The name of the model to retrieve. | Required |