Customize your AI with model fine tuning on Nvidia DGX Spark

Arm Software Developers
785 views •

In this code-along, you learn how to turn a generic, off-the-shelf LLM into a custom AI model that can answer domain-specific questions with speed and accuracy ⚡🤖 We’ll be using an NVIDIA DGX Spark desktop, featuring the latest Arm CPU and NVIDIA GPU combination, to fine-tune a Llama 3.2 model from Hugging Face with a custom dataset of Raspberry Pi device specifications. You’ll learn how to use PyTorch and Hugging Face Transformers to: • Load your model • Prepare your dataset • Train and fine-tune the model • Save your custom model You can then use this script and knowledge to apply different datasets to different models, creating your own models tailored specifically to your needs.

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close