mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-06-03 16:51:16 -05:00
- Added educational metadata (difficulty, time_estimate) to all module.yaml files - Updated convert_readmes.py to read from YAML instead of hardcoded mappings - Standardized difficulty progression: ⭐ → ⭐⭐ → ⭐⭐⭐ → ⭐⭐⭐⭐ → ⭐⭐⭐⭐⭐🥷 - Fixed path resolution for YAML reading in book build process - Eliminated duplication: single source of truth for educational metadata - Capstone gets special ninja treatment (⭐⭐⭐⭐⭐🥷) as beyond-expert level
32 lines
931 B
YAML
32 lines
931 B
YAML
# TinyTorch Module Metadata
|
|
# Essential system information for CLI tools and build systems
|
|
|
|
name: "training"
|
|
title: "Training"
|
|
description: "Neural network training loops, loss functions, and metrics"
|
|
|
|
# Dependencies - Used by CLI for module ordering and prerequisites
|
|
dependencies:
|
|
prerequisites: ["setup", "tensor", "activations", "layers", "networks", "dataloader", "autograd", "optimizers"]
|
|
enables: ["compression", "kernels", "benchmarking", "mlops"]
|
|
|
|
# Package Export - What gets built into tinytorch package
|
|
exports_to: "tinytorch.core.training"
|
|
|
|
# File Structure - What files exist in this module
|
|
files:
|
|
dev_file: "training_dev.py"
|
|
readme: "README.md"
|
|
tests: "inline"
|
|
|
|
# Educational Metadata
|
|
difficulty: "⭐⭐⭐⭐"
|
|
time_estimate: "8-10 hours"
|
|
|
|
# Components - What's implemented in this module
|
|
components:
|
|
- "MeanSquaredError"
|
|
- "CrossEntropyLoss"
|
|
- "BinaryCrossEntropyLoss"
|
|
- "Accuracy"
|
|
- "Trainer" |