4 MLOps Lessons Learned from Bootstrapping an AI Startup (talk)

1 May 2024 · 19 min
19:13

In this livestream talk, Daniel Bourke walks through the end‑to‑end MLOps workflow he built while bootstrapping Nutrify, a mobile app that identifies foods from a photo and provides nutrition information. He introduces himself, his background in food science and machine learning, and the inspiration behind Nutrify (a Pokédex‑style food guide). He then details the product’s current state (420 foods, ~300k images, 90% test accuracy, ~80% production accuracy) and the technical stack: a Vision Transformer backbone from Hugging Face’s TIMM library, fine‑tuned on a mixed dataset of scraped internet images and manually collected real‑world photos, with labels managed via an annotations file and auto‑labeling using foundation models (SigLIP, CLIP). The data pipeline is tracked in Weights & Biases (experiment, artifact, and table logging) and stored in Supabase (PostgreSQL). Models are converted to Core ML and run on‑device using Apple’s Neural Engine for fast inference. He shares several practical MLOps lessons: 1) start simple and copy what works; 2) data is the most important factor – combine internet scraping with extensive real‑world collection; 3) use lightweight model selection (parameter‑to‑accuracy ratio) and fine‑tune; 4) automate labeling and feedback loops; 5) prioritize on‑device deployment to avoid API latency and cost. He also discusses future directions (expanding to 500+ then 1,000+ foods, possible generative models, on‑device LLMs) and reflects on alternative approaches (bootstrapping with LLM APIs today). The talk ends with a brief Q&A about accuracy definitions and food coverage methodology.

Chapters

More from Daniel

youtube.com

Small Language Models (SLMs) Are the Future: Fine-Tuning AI That Runs on Your iPhone

7mo ago
youtube.com

Introducing Sunny - A MedGemma-Powered Skin Health Tracking App (Kaggle Competition Entry)

7mo ago
youtube.com

NVIDIA DGX Spark vs RTX 4090 | LLM inference, training speed and more

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 4 - Comparing the results

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 3 - Running LLMs on the RTX 4090

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 2 - Formalizing the tests

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 1 - Creating a series of tests

8mo ago
youtube.com

Local Multimodal RAG Pipeline End-to-End Tutorial | On DGX Spark

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 4 - Publishing our demo to Hugging Face

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 3.5 - Making a demo

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 3 - Putting it all together

8mo ago
See all content