Skip to main content

MLFlow

Model Structure

An MLflow model has the following structure:

# https://mlflow.org/docs/latest/models.html#mlmodel-file
my_model/
├── MLmodel
├── model.pkl
├── conda.yaml
├── python_env.yaml
└── requirements.txt

For more detailed information about the model, please refer to the following page: https://mlflow.org/docs/latest/models.html

Environment

In the BentoML deployment environment, Python version 3.10 is used based on buildpack-deps:jammy (Ubuntu 22.04). The extracted model will be located at /user/model.

Example Projects

MLflow provides a variety of example projects, so you can refer to the following examples to create your model.