Model Selection සිංහලෙන් - Part 2 | How to Fine-Tune Large Language Models (LLMs)
පාඩම 02 - Encoder / decoder or hybrid මේ අතරින් අපේ classification task එකට ගැලපෙන්නේ මොකද්ද. In this video series, you’ll learn how to fine-tune an LLM from scratch. We’ll explain all the essential theoretical concepts and coding techniques you need to master before diving into fine-tuning. Follow along with our Jupyter Notebook walkthrough to learn how to preprocess data, freeze BERT parameters, handle class imbalance, and train a high-performing spam classifier. This video is perfect for machine learning enthusiasts, NLP beginners, and data scientists looking to master fine-tuning in 2025. 🔑 What You’ll Learn: What it means to fine-tune large language models and the different methods used for fine-tuning Choosing between an encoder, decoder, or encoder-decoder model — and why it matters Preparing the fine-tuning dataset and performing preprocessing Understanding Transformers and loading base pre-trained models Tokenization and embeddings explained The self-attention mechanism in detail Creating DataLoaders for LLM training Building the LLM architecture (including fully connected layers, activation functions, dropout layers, and softmax) Using the Adam optimizer Strategies to handle class imbalance How Negative Log-Likelihood (NLL) is used in classification tasks Training and validating the model Final evaluation: loss calculation, classification report, and confusion matrix How to make inferences and predictions on new, unseen text Fine-tuning BERT for text classification using PyTorch Five fine-tuning methods: feature-based, full fine-tuning, layer-wise, adapters, and gradual unfreezing Handling class imbalance with weighted loss functions Tokenizing text using BertTokenizerFast and preparing DataLoaders

How to Prepare Data for Training සිංහලෙන් - Part 3 | How to Fine-Tune Large Language Models (LLMs)

What Are Word Embeddings?

AI Jargon: The B-List

Introduction to Fine-Tuning සිංහලෙන් - Part 1 | How to Fine-Tune Large Language Models (LLMs)

What are Word Embeddings?

Using Large Language Models | Build Your Own LLM Workshop #1

Complete Guide to Building Production-Ready AI Agents සිංහලෙන් | AgenTrix

Why Aliens Would NEVER Invade Africa

MIT Just Revealed the AI Bubble's Fatal Flaw

Tokenization and Attention Mask සිංහලෙන් - Part 4 | How to Fine-Tune Large Language Models (LLMs)

Don't learn AI Agents without Learning these Fundamentals

The FULL VIDEO of Trump they didn’t want released

Complete Generative AI Course For Free | Gen AI Course 2026 | Intellipaat

How US Air Force B 52 Pilot Performed an Emergency Takeoff at Full Speed

This Johnny Depp Impression of Donald Trump Had Everyone Laughing

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 1 - Transformer

People Who Messed With The Royal Guard and Regretted It!

How To Think SO CLEARLY People Assume You're A Genius

Deep Dive into LLMs like ChatGPT

