
Become an LLM engineer who uses closed- and open-source models across six levels, applies data-driven prompts, and trains LLMs from scratch, including retrieval augmented generation and fine-tuning with PyTorch.
Install Anaconda on Windows, install libraries with pip or conda, and launch Jupyter Notebook from your working directory to run code like hello world.
Explore large language models and their learning levels, from parameter scales and next-word prediction to prompt engineering, rag, fine-tuning, and building open or local models from scratch.
Explore how APIs connect apps to closed and open source LLMs, and how tokens drive cost through tokenization, comparing OpenAI's ChatGPT, Gemini, DeepSeek.
Create or sign into an OpenAI account via Google, Apple, Microsoft, or email; set up billing with at least $5, generate a secret API key, and securely save it.
Set up a Jupyter notebook, load your secret key from secretkey.py, create an OpenAI client, and request a response with GPT-5 nano; inspect the output text and id.
Demonstrate how to generate and compare multiple responses to one question by varying temperature settings, looping prompts, and printing results, using a nano model and code two.
Assign a role to the model or developer to control responses, adjust the reasoning effort, and shape client interactions with role-based content, even pirate-like style, for a custom chatbot.
Learn to build a conversation loop for a chatbot, manage messages with roles and user inputs, and guide an assistant to act as a sales voice while handling exit conditions.
Master prompt engineering to guide large language models toward specific outputs by shaping input and instructions. Explore applications in NLP tasks, chatbots, content generation, and grading, including handling name variations.
Explore prompt engineering by building a first application with the OpenAI API, using secret keys, and pandas to create a student Q&A data frame for scoring.
Discover prompt engineering to grade student answers with an LLM by constructing a dynamic prompt, applying historical accuracy and completeness rubrics, and returning structured JSON grades.
Learn how to access APIs for solvers like DeepSeq, obtain API keys, manage paid credits, and implement secret keys in Python to create your own DeepSeek solutions.
demonstrates using DeepSeq like gpt with OpenAI style api calls, and shows obtaining api keys and configuring the base url for cost-saving chat completions.
Explore retrieval augmented generation (RAC) and how to build it from document collection and text extraction to chunking, metadata, vector storage, and context-driven answer generation.
Prepare a RAG model by preprocessing data: open a notebook, extract text from a 72-page PDF, chunk into 500-token pieces, and prepare embeddings as vectors.
Convert text chunks into embeddings with an OpenAI model, build and save a vector index using Euclidean distance, and store text chunks for fast retrieval.
Load the data files, including chunks and vectors, configure OpenAI with the secret API key, read the index, load chunks via pickle, and prepare a rag model chatbot.
Build a chatbot using a rag model by embedding questions into vectors, selecting the top five chunks as context for an LLM to answer only from the provided text.
Configure multi-source data by creating a data folder with country metadata. Extract text from PDFs into documents, chunk paragraphs, and save embeddings and metadata.
Learn how to implement retrieval augmented generation for a multi-data chatbot by loading documents, building a new index, computing embeddings, and answering questions with contextual sources.
Explore huggingface, the open-source platform for models, datasets, and transformers that powers LLMs with translation, summarization, QA, classification, and multi-modal supports.
Install transformers with pip, choose CPU or GPU via torch, and run a sentiment analysis pipeline using a Hugging Face model to test open source capabilities.
Explore how to use HuggingFace models to build task-oriented solutions with zero-shot classification, leveraging the Transformers pipeline to classify text into custom labels.
Leverage the huggingface transformers pipeline for image object detection, processing a test image with pillow, returning labeled detections and pixel coordinates, then extend to question answering and text summarization.
Explore building a text category model pipeline for question answering with a tokenizer and the pre-trained DeepSetRobertaDaysQuad2 model, including tokenization and decoding answers.
Learn to build a text summarizer with a transformer-based sequence-to-sequence model by loading a pre-trained auto model and tokenizer to generate concise summaries.
Build a chat bot by importing transformers and using a pipeline with a small model, while managing conversation history and generation settings like temperature.
Learn how to build a chatbot using a built-in Tiny Llama model with the pipeline method, managing history and user and assistant labels and token settings.
Create an open-source prompt engineering grader by preparing data, loading a tiny llama model, and grading each student individually or in batch while processing text with regex and pandas.
Build a grading model for LLMs by defining the prompt question, processing student answers in a data frame, and returning a numeric grade with concise feedback.
Learn retrieval augmented generation (rag) using LangChain with HuggingFace, load and chunk a pdf into embeddings, and store vectors in a vector store for efficient retrieval and generation.
Learn how to convert documents to vectors using embeddings, set up a sentence-transformer-model with HuggingFaceEmbeddings, store in a vector store, and retrieve text with a retriever for LLM use.
Explore building an LLM pipeline with a rank chain and long chain retrieval, using Hugging Face pipelines and tiny-llama-1.1-billion-chat-v1.0 to answer document-based questions.
Load local data with embeddings, enable dangerous deserialization, retrieve a limited number of chunks, and run an LLM with a context prompt to answer tax filing questions.
Prepare dictionary-style text data in the required format for the tokenizer and model using the dataset library, and apply a train-test split of 0.2 before fine-tuning.
Train a model quickly using Hugging Face transformers with tokenization and sequence classification. Build the model, tokenize the data, set training arguments, and evaluate accuracy before and after training.
Save and load a trained model and tokenizer, build a classification pipeline, and evaluate performance for predictions; retrain to improve accuracy.
Fine-tune a model by adjusting training arguments and epochs, save the new model, load it for evaluation, and track accuracy gains with loss reduction.
Install PyTorch for cpu or gpu by selecting the stable version on PyTorch.org, choosing your os and python, selecting a CUDA version, and running the provided conda or pip commands.
Explore deep learning by building and training neural networks with input, hidden, and output layers, adjusting weights and biases through loss, cost functions, gradient descent, and backpropagation.
Explore PyTorch tensors from scalars to vectors, matrices, and higher-dimensional arrays, and learn to create, convert, index, and reshape with random values and data types.
Explore connecting tensors with NumPy by converting between PyTorch tensors and NumPy arrays, including handling GPU tensors and ensuring CPU conversion for NumPy operations.
Learn how backpropagation trains deep neural networks by adjusting weights and biases through forward and backward passes, applying the chain rule to minimize mean square error.
Demonstrates backpropagation in PyTorch by building a simple forward pass with x, y, and a learnable w, computing y_hat, loss, and gradient via loss.backward.
Explore how the transformer neural network powers LLMs, detailing encoder-decoder architecture, embeddings, positional encoding, and multi-head attention with QKV to predict the next word or character.
Download Hamlet text from archive.org, save it as a text file, and load it into a Jupyter notebook with utf-8 encoding to prepare a Shakespeare-like model.
Preprocess text data for neural network by converting characters to numbers with string-to-index and index-to-string mappings, enabling encoding and decoding for model training.
Learn to encode text into numbers to create data using torch.tensor and torch.long, build 1d tensors, and split data into 90% training and 10% validation to train a model.
Set up a transformer model using open-source code, configure patch size, embeddings, heads, layers, dropout, then train with Adam on GPU or CPU and generate a text of 500 characters.
Explore how model training transforms outputs from random gibberish to coherent text, showing the impact of iterations, evaluation steps, and larger training runs across languages.
Description
This is a complete course that will prepare you to use Large Language Model. We will cover the fundamentals of Large Language Model with the main purpose of applying LLMs in real world applications, this course is structured on a 6 levels in which we will start learning LLM starting from the basic concepts of LLM and them grow little by little from closed paid models to build our chatbot and then add your own data to the model to generate a more suitable replies, after that we grow to apply open source models in your work, after that we get to the level to fine tune an already existing model to apply to our application, after that we got to the point to train the model from scratch using PyTorch.
What Skills will you Learn:
In this course, you will learn the following skills:
Understand the Math behind NLP Language Algorithms.
Understand the Math behind LLMs Language Algorithms.
Write and build Machine Learning/ LLM Algorithms.
Apply LLMs using paid Closed models (ChatGPT and DeepSeek).
Apply LLMs using Open source models.
Fine Tune Already existing Models.
Train LLMs from Scratch using PyTorch.
Use opensource libraries related to LLMs, such as OpenAI, Hugging Face, and LangChain.
We will cover:
Introduction Fundamentals of NLP (Natural Language Processing) and LLM (Large Language Model).
Level 1 : Prompt Engineering using Closed Source Models
Level 2 : RAG (Retrieval-Augmented Generation) Model using closed Source Models
Level 3 : Prompt Engineering using OPEN Source Models
Level 4 : RAG (Retrieval-Augmented Generation) Model using OPEN Source Models
Level 5 : Model Fine Tuning
Level 6 :Train Your LLM from scratch to write a novel.
If you do not have prior experience in Machine Learning OR Natural Language Processing (NLP) OR Large Language Model (LLM ), that's NO PROBLEM!. This course is complete and concise, covering the fundamentals of NLP and LLM Engineering.