CookbooksCursus Cookbooks
Version Models & Datasets
Attach files to runs with automatic versioning — track model checkpoints, datasets, and other artifacts across experiments.
- Version artifacts by name with descriptions
- Attach single files or lists of files
- Artifacts belong to projects, not runs — view across all runs
Time to complete: ~5 minutes
Prerequisites
pip install sagea-cursusCURSUS_API_KEYandCURSUS_BASE_URLset in your environment
Step 1: Log a model checkpoint
Step 2: View artifacts on the dashboard
Open the run's Artifacts tab to see:
- best-model — version 1, type
model, description "Final trained weights", single filebest.pt - training-data — version 1, type
dataset, three files listed
Each call to log_artifact() with the same name creates a new version. Previous versions remain accessible.
Step 3: Use artifacts across runs
Artifacts belong to projects, not runs. View all versions of best-model in the project's Artifacts page — useful for comparing checkpoints across experiments.
Limits: ~100 MB per file, 1000 files per call, 120s upload timeout. Missing or unreadable files are skipped with a warning.
