Advertisements

LLM Fundamentals & Fine-Tuning: From Theory to Practice

Advertisements
Understand transformers, prepare datasets, fine-tune with LoRA and QLoRA, and evaluate custom language models.
1
1/5
(59) Ratings
0 students
Created by School of AI
Advertisements

What you'll learn

  • Understand how Large Language Models (LLMs) work, including transformers, tokenization, embeddings, and attention mechanisms.
  • Learn when to use Prompt Engineering, RAG, Fine-Tuning, and other LLM customization techniques.
  • Prepare, clean, tokenize, and structure high-quality datasets for LLM fine-tuning.
  • Fine-tune open-weight language models using Python, PyTorch, Hugging Face Transformers, and TRL.
  • Implement Parameter-Efficient Fine-Tuning (PEFT) using LoRA and QLoRA to optimize training resources.
  • Configure training parameters, optimize model performance, and troubleshoot common fine-tuning challenges.
  • Evaluate LLMs using performance metrics, benchmarks, hallucination detection, and safety testing.
  • Build and deploy a customized AI assistant using fine-tuned models, FastAPI, Streamlit, and local inference tools.
This course includes:
11.5 total hours on-demand video
1 articles
1 downloadable resources
113 lessons
Full lifetime access
Access on mobile and TV
Certificate of completion
Advertisements

Course content

Requirements

  • Basic Python programming knowledge is recommended, but advanced programming experience is not required.
  • No prior experience with Large Language Models or fine-tuning is necessary.
  • Basic understanding of Artificial Intelligence and Machine Learning concepts is helpful but not mandatory.
  • A computer running Windows, macOS, or Linux with internet access for downloading software and models.
  • At least 8 GB RAM for selected introductory exercises; 16 GB or more is recommended.
  • Access to a compatible GPU is recommended for hands-on LoRA and QLoRA fine-tuning exercises.
  • All core tools use open-source technologies, including Python, PyTorch, Hugging Face, and Ollama.
  • A willingness to experiment, write code, and explore real-world Generative AI applications.

Description

This course contains the use of artificial intelligence.

Master Large Language Models, Transformers, LoRA, QLoRA, Hugging Face, and AI Model Customization

Want to understand how Large Language Models (LLMs) actually work and learn how to customize them for real-world applications? This comprehensive, hands-on course takes you from LLM fundamentals to advanced fine-tuning techniques, helping you develop practical skills in Generative AI, Natural Language Processing (NLP), Machine Learning, and Deep Learning.

Whether you’re an aspiring AI Engineer, Machine Learning Engineer, Data Scientist, Python Developer, or Generative AI enthusiast, this course will help you understand, train, evaluate, and deploy customized language models using popular open-source AI frameworks.

What You’ll Learn

1. Large Language Model Fundamentals

Understand the foundations of Artificial Intelligence (AI), Generative AI, Natural Language Processing, and Transformer Architecture. Explore tokenization, embeddings, self-attention, multi-head attention, positional encoding, neural networks, pretraining, and next-token prediction.

2. LLM Customization Strategies

Discover when to use Prompt Engineering, Retrieval-Augmented Generation (RAG), Supervised Fine-Tuning (SFT), and domain adaptation. Learn how to select the right approach based on model performance, business requirements, and available resources.

3. Data Preparation for Fine-Tuning

Learn essential LLM dataset preparation techniques, including data collection, cleaning, preprocessing, tokenization, synthetic data generation, instruction-response formatting, JSONL datasets, training-validation-test splitting, and data quality assessment.

4. Hands-On LLM Fine-Tuning

Gain practical experience with Python, PyTorch, Hugging Face Transformers, Hugging Face Datasets, and TRL. Configure training parameters, understand learning rates, batch sizes, epochs, gradient accumulation, optimizers, training loss, and model checkpoints.

5. Parameter-Efficient Fine-Tuning

Explore Parameter-Efficient Fine-Tuning (PEFT) techniques, including Low-Rank Adaptation (LoRA) and Quantized Low-Rank Adaptation (QLoRA). Understand 4-bit quantization, model compression, GPU memory optimization, adapter training, and efficient LLM customization.

6. LLM Evaluation and Optimization

Evaluate models using accuracy, precision, recall, F1-score, human evaluation, task-specific benchmarks, and hallucination testing. Learn to identify overfitting, underfitting, catastrophic forgetting, and data leakage, while improving model quality through experimentation.

7. LLM Deployment and Inference

Discover how to serve customized AI models using Ollama, Hugging Face, FastAPI, Streamlit, and local inference frameworks. Explore model serving, inference optimization, API development, and AI application deployment.

Build a Real-World Fine-Tuning Project

Apply your knowledge through a practical end-to-end LLM fine-tuning capstone project. Prepare a custom dataset, establish baseline performance, fine-tune an open-weight language model using LoRA or QLoRA, evaluate improvements, and build a working AI-powered application.

Who Should Enroll?

This course is ideal for AI Developers, Software Engineers, Python Programmers, Data Scientists, ML Engineers, AI Architects, NLP Practitioners, and technology professionals who want practical experience with Large Language Models and Generative AI development.

Basic Python knowledge is recommended, but previous LLM fine-tuning experience is not required.

Start Building Customized AI Models

Move beyond simply using AI tools. Learn how language models work, when customization makes sense, and how to create specialized solutions through LLM training, fine-tuning, evaluation, and deployment.

Enroll today and start developing the practical LLM engineering skills needed to build customized Generative AI applications!

Who this course is for:

  • Beginners in Generative AI who want to understand how Large Language Models work and how they are customized.
  • Python Developers and Software Engineers interested in building AI-powered applications with fine-tuned language models.
  • Data Scientists and Machine Learning Engineers looking to develop practical skills in LLM training, LoRA, QLoRA, and model evaluation.
  • AI Engineers and Generative AI Developers who want to move beyond prompt engineering and RAG into model customization.
  • AI Architects and Technology Professionals evaluating fine-tuning strategies for enterprise AI applications.
  • Students, Researchers, and NLP Enthusiasts interested in transformer architectures, language modeling, and parameter-efficient training.
  • Technical Professionals and Career Changers looking to develop practical skills in Generative AI and LLM engineering.
  • Developers and AI Enthusiasts who want to build, evaluate, and deploy customized open-weight language models using open-source tools.
Advertisements
NOVFREE01
Advertisements
Advertisements
Free Online Courses with Certificates
Logo
Register New Account