Learn Everything

Paths/MLOps Engineer/ML Pipelines / The Training Pipeline

Practice Taskintermediateubuntu:24.04Ask AI

Define the Training Stage

The training stage is where the DAG stops being a plan and starts doing work. Write its definition with the image, the command and the artifacts it consumes and produces.

Validator

⏱ 0:00

IDLE — checks run live as you type commands; submit when done

01Requirements

live checks
  • Directory ~/pipeline/stages exists○
  • File ~/pipeline/stages/train.yaml exists○
  • The stage declares its image and its command○
  • The stage declares its inputs and its outputs○

02Walkthrough

1 of 5 revealed
  1. 01

    Create the stages directory

    One file per stage keeps the pipeline inspectable without reading code.

    mkdir -p ~/pipeline/stages
  2. 4 locked · each failed submit reveals one

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — ubuntu:24.04

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list