Learn how to apply ML to build a production grade product to deliver value.
- Lessons: https://madewithml.com/#mlops
- Code: GokuMohandas/mlops-course
📦 Purpose | 💻 Developing | ♻️ Reproducibility |
Product | Packaging | Git |
System design | Organization | Pre-commit |
Project | Logging | Versioning |
🔢 Data | Documentation | Docker |
Exploration | Styling | 🚀 Production |
Labeling | Makefile | Dashboard |
Preprocessing | 📦 Serving | CI/CD workflows |
Splitting | Command-line | Infrastructure |
Augmentation | RESTful API | Monitoring |
📈 Modeling | ✅ Testing | Feature store |
Baselines | Code | Data stack (Aug 2022) |
Evaluation | Data | Orchestration (Aug 2022) |
Experiment tracking | Models | |
Optimization |
📆 More content coming soon!
Subscribe for our monthly updates on new content.
We highly recommend going through the lessons one at a time and building the code base as we progress. For every concept, we focus on the fundamentals and then dive into the code, at which point we can refer to this repository as a guide.
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install -e ".[dev]"
pre-commit install
pre-commit autoupdate
If the commands above do not work, please refer to the packaging lesson. We highly recommend using Python version
3.7.13
.
tagifai/
├── data.py - data processing utilities
├── evaluate.py - evaluation components
├── main.py - training/optimization operations
├── predict.py - inference utilities
├── train.py - training utilities
└── utils.py - supplementary utilities
python tagifai/main.py load-data
python tagifai/main.py label-data --args-fp="config/args.json"
python tagifai/main.py optimize --args-fp="config/args.json" --study-name="optimization" --num-trials=10
python tagifai/main.py train-model --args-fp="config/args.json" --experiment-name="baselines" --run-name="sgd"
python tagifai/main.py predict-tag --text="Transfer learning with transformers for text classification."
uvicorn app.api:app --host 0.0.0.0 --port 8000 --reload --reload-dir tagifai --reload-dir app # dev
gunicorn -c app/gunicorn.py -k uvicorn.workers.UvicornWorker app.api:app # prod