Local VLM fine-tuning on the NVIDIA DGX Spark - Part 1 - Creating a VLM dataset

12 Jan 2026 · 181 min
3:00:57

In this live stream, Daniel Bourke walks through the end‑to‑end creation of a vision‑language (VLM) dataset aimed at extracting structured food and drink information from images. He outlines the weekly goal of replacing the Gemini‑based Nutrify app with an on‑device model, and for today’s session focuses on assembling a 1.5 K image‑text pair dataset (≈1 000 food images from Food‑101 and ≈500 non‑food images from manual and internet sources). The workflow includes selecting diverse samples, generating detailed food item labels using a large VLM (Quen‑3‑VL‑8B), converting the generated YAML outputs to JSON, handling conversion errors, enriching the metadata, and saving the data in a JSON‑L format. He then demonstrates loading the data with Hugging Face datasets, fixing NaN issues, and pushing the final 280 MB dataset (foodextract1kvision) to the Hugging Face Hub with a README and licensing. Throughout the stream he engages with the chat, answers questions about dataset versioning, VLM fine‑tuning tools (TRL, QLoRA), and future plans: fine‑tuning a smaller VLM (e.g., Gemma 3/4B) on the new dataset, uploading the fine‑tuned model, and building a demo. The session is interleaved with “machine learning and muscle” rules (hourly push‑ups/squats) and personal anecdotes about the Nutrify app, time‑zone challenges, and upcoming “Party Day”. The stream concludes with a recap of achievements and a preview of the next steps.

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