Tutorials and Examples#

The MLRun tutorials provide a hands-on introduction to using MLRun to implement data science workflows and to automate both gen AI and machine-learning operations (MLOps) tasks.

In this section



Make sure you start with the Quick start tutorial to understand the basics

Introduction to MLRun - Use serverless functions to train and deploy models

Each of the following tutorials is a dedicated Jupyter notebook. You can download them by clicking the download icon ../_images/icon-download.pngat the top of each page.

Gen AI tutorials#

Deploy LLM using MLRun

How to copy a dataset into your cluster, deploy an LLM in the cluster, and run your function.

./genai-01-basic-tutorial.html
Model monitoring using LLM

Set up an effective model monitoring system that leverages LLMs to maintain high standards for deployed models.

./genai-02-model-monitor-llm.html
Experiment tracking with vector DBs

How to track experiments for document-based models using the LangChain API to integrate directly with vector databases.

./genai-03-vector-db.html

Machine learning tutorials#

Serving pre-trained ML/DL models

How to deploy real-time serving pipelines with MLRun Serving and different types of pre-trained ML/DL models.

./03-model-serving.html
Projects & automated ML pipeline

How to work with projects, source control (git), CI/CD, to easily build and deploy multi-stage ML pipelines.

./04-pipeline.html
Real-time monitoring & drift detection

Demonstrate MLRun Serving pipelines, MLRun model monitoring, and automated drift detection.

./05-model-monitoring.html
Add MLOps to existing code

Turn a Kaggle research notebook to a production ML micro-service with minimal code changes using MLRun.

./07-add-mlops-to-code.html
Basic feature store example (stocks)

Understand MLRun feature store with a simple example: build, transform, and serve features in batch and in real-time.

../feature-store/basic-demo.html
Batch inference and drift detection

Use MLRun batch inference function (from MLRun Function Hub), run it as a batch job, and generate drift reports.

./06-batch-infer.html
Advanced real-time pipeline

Demonstrates a multi-step online pipeline with data prep, ensemble, model serving, and post processing.

../serving/graph-example.html
Feature store end-to-end demo

Use the feature store with data ingestion, model training, model serving, and automated pipeline.

../feature-store/end-to-end-demo/index.html

End to end demos#

See Demos.

Cheat sheet#

If you already know the basics, use the cheat sheet as a guide to typical use cases and their flows/SDK.