Fine-Tune the Llama Model you own this product

prerequisites
Basic Python • Basics of LLMs
skills learned
Develop data set of finetuning • Finetune an LLM
Michael Yuan and Tony Yuan
1 week · 4-6 hours per week · BEGINNER

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

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

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


Look inside

Your local school district has an LLM chatbot specialized in chemistry. But it sometimes answers questions entirely unrelated to chemistry! To improve the safety of this LLM application, you are asked to come up with a new LLM that would classify student questions and return machine-readable (JSON) messages to the application frontend so that the application can decide whether to answer this question. To accomplish that, you need fine-tuning to "teach" the model how to classify questions through many examples, which themselves are generated by a Llama-based LLM, and to always respond with JSON.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

project authors

Michael Yuan

Dr. Michael Yuan is the founder and maintainer of the open -source WasmEdge project — one of the most popular WebAssembly (Wasm) runtimes for server and edge applications. He is also the creator of LlamaEdge, a cross-platform, embeddable, and cloud-native runtime for AI applications, supporting LLMs and popular vision and speech models. Dr. Yuan is the author of 5 books on software engineering and a frequent speaker at conferences such as KubeCon, Open Source Summit, QCon, Rust Conf, VMWare Explore, COSCon, and Wasm I/O. He has designed and implemented enterprise applications and server-side software infrastructure since the early 2000s. Dr. Yuan holds a PhD in Astrophysics from the University of Texas at Austin.

Tony Yuan
Tony Yuan is a student at Kealing Middle School in Austin, Texas, who loves technology and AI. He served as a TA for his school’s computer science class and as the leader of Kealing’s philharmonic orchestra. He enjoys listening to rock music and reading history books when he's not programming or studying.

prerequisites

This liveProject is for software developers and IT professionals who are interested in building LLM applications in their own domains. To begin this liveProject, you will need to know the following:


TOOLS
  • Intermediate Linux
  • Basics CMAKE and Linux dev tools
  • Basics of Git
  • Basics of Hugging Face
  • Basics of Python
TECHNIQUES
  • Command line tools
  • Basics of LLMs
  • Basics of model training and inference
  • Deploying and testing web services

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 other participants and 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.

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 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
  • Fine-Tune the Llama Model project for free