Local VLM fine-tuning on the NVIDIA DGX Spark - Part 2.5 - Training the LLM part only

15 Jan 2026 · 175 min
2:55:12

Fine-tuning SmallVLM to extract JSON from food images by freezing the vision encoder and training only the language head on 1,000 food photos. The model reaches 90-98% token accuracy using AdamW with learning rate 2e-4, running on DGX Spark and RTX 4090, then gets deployed to Hugging Face with a Gradio demo for the Nutrify offline food-recognition app.

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