Three-Project Series

Build Your LLM and Fine-Tune it for Real Tasks

you own this product
prerequisites
Intermediate Python • Beginner PyTorch • Beginner Hugging Face • Beginner NLP & ML
skills learned
Building LLM architectures from scratch • Fine-tuning pre-trained LLMs for classification and code generation tasks • Tokenization and preprocessing of text data • Evaluating, optimizing, and running open-source LLMs offline
Tobias Zwingmann
3 weeks · 4-6 hours per week average · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


In this liveProject series, you’ll take on the role of a data scientist at X Education, tasked with building a self-hosted LLM to cut costs and boost productivity. You’ll code the Llama 3.2 architecture from scratch to master transformers, then work to fine-tune it for lead classification for the marketing team, and adapt it for HTML code generation to support your overworked developer colleagues. Using Unsloth to speed up training on free Colab GPUs, you’ll finish with a fully working LLM that’s flexible, efficient, and free from vendor lock-in.

These projects are designed for learning purposes and are not complete, production-ready applications or solutions.

here's what's included

Project 1 Build Your First LLM from Scratch

In this liveProject, you’ll build a whole large language model from the ground up! You’ll step into the role of a team member at X Education, tasked by your managers with understanding how AI works by creating one of your own. Following the open source Llama 3.2 architecture, you’ll start by coding modular architecture components and assembling them into a GPU-ready model. You’ll implement a tokenizer that seamlessly integrates with the system, fine-tune the model on a sample dataset, and load pre-trained weights to unlock full functionality. Finally, you’ll generate, structure, and refine text outputs in a chat format, until you have a polished, user-friendly model running locally on your hardware.

learn more
$29.99 $19.99
Project 2 Fine-Tune an LLM for Text Classification

X Education gets thousands of potential leads every day—so why do the sales team keep chasing cold leads instead of promising prospects? In this liveProject, your boss has tasked you to solve this problem by creating a powerful lead-scoring model using LLM technology. You’ll take a base purpose model and train it on X Education’s data to become a focused machine lead evaluating machine! Begin by setting up a resource-efficient environment and load the pre-trained model, then transform X Education’s 9,000-lead dataset into tokenized prompts. You’ll fine-tune Llama 3.2 to classify leads for conversion potential, and finally evaluate its performance against a few-shot baseline.

learn more
$29.99 $19.99
Project 3 Fine-Tune an LLM for Code Generation
Like many businesses, there’s never enough hours in the day for X Education’s development team. That’s why in this liveProject, you’ll be helping them be more productive than ever by building them a specialized HTML code generation AI! Your

AI will be based on a pretrained Llama 3.2 model and be entirely based on-site with no reliance on external services. You’ll set up your Colab environment with Unsloth and preprocess a commit-style dataset into instruction–input–output triples. Next, benchmark the base model’s code generation skills, then fine-tune it with LoRA. Finally, you’ll evaluate the fine-tuned model against the baseline, comparing consistency, correctness, and output quality.

learn more
$29.99 $19.99
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build Your LLM and Fine-Tune it for Real Tasks project for free

project author

Tobias Zwingmann
Tobias Zwingmann is a leading AI expert and advisor. As Managing Partner at Germany-based RAPYD.AI, he helps companies adopt AI and machine learning faster while achieving meaningful business impact. Leveraging his background as a data scientist and over 15 years of experience at the intersection of business and technology, Tobias has led AI initiatives across a wide range of industries, from early-stage prototyping to full-scale deployment.

Prerequisites

This liveProject is for intermediate Python programmers who understand both data processing and machine learning basics, and are keen to adapt these skills to creating and tuning Large Language Models.


TOOLS
  • Intermediate Python
  • Basics of Google Colab
  • Basics of Pandas
  • Basics of PyTorch
  • Basics of Huggingface
TECHNIQUES
  • Basics of data preprocessing
  • Basics of machine learning
  • Basics of Text Data Handling

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from fellow participants and even more help with paid sessions with our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.