Become an AI Researcher — Build Your Own GPT, Transformers & Multimodal Models from Scratch in PyTorch (Urdu/Hindi)
About Course
Most AI courses hand you finished code and call it learning. This one teaches you to build it yourself.
Over 275+ hours, you’ll go from your first line of Python to coding your own GPT, Stable Diffusion, and multimodal models from scratch in PyTorch — every architecture built line-by-line, explained from first principles, in Urdu/Hindi.
No black boxes. No copy-paste. By the end you won’t just understand modern AI — you’ll have built it, with portfolio-ready projects (GPT, BERT, ViT, U-Net, GANs, Stable Diffusion and multimodal systems) to show for it.
You’ll master the full journey: the math behind deep learning, neural networks and backpropagation by hand, every activation, loss and optimizer, then advanced NLP, Computer Vision, Generative AI, Large Language Models like Llama 2, Stable Diffusion, and multimodal models — all implemented straight from the research papers.
Whether you’re aiming for an AI engineering job, research, or building real systems, this is the deep, from-scratch foundation that gets you there.
Lifetime access · Certificate of completion ·
What Will You Learn?
- Build your own GPT, Stable Diffusion, and multimodal models from scratch in PyTorch
- Code every neural network by hand — no black boxes, no copy-paste
- Master PyTorch from your first tensor to research-level architectures
- Implement Transformers and Vision Transformers straight from the research papers
- Understand the math behind deep learning: backpropagation, gradients, and optimization
- Code every activation, loss function, and optimizer yourself (and know when to use each)
- Build real projects across NLP, Computer Vision, and Generative AI
- Train modern vision models — LeNet, ResNet, ViT, and Swin Transformer
- Build generative systems: GANs, Stable Diffusion, and multimodal AI
- Finish with a portfolio of projects you can show recruiters or research supervisors
Course Content
Programming & Data Science Fundamentals for AI
This section covers all the essential tools you need to start your journey in AI and Deep Learning. You’ll build a strong foundation in Python programming and core data science libraries including NumPy, Pandas, Matplotlib, and Seaborn.
You’ll learn how to write clean Python code, work with arrays and datasets, perform data analysis, and visualize results effectively—skills that are mandatory before moving into machine learning and deep learning with PyTorch.
-
intro
03:01 -
PYTHON Full Course for Beginners
16:43:34 -
Python Numpy Full Tutorial For Beginners
04:33:00 -
PANDAS Full Course with PRACTICAL
01:42:04 -
Matplotlib Full Tutorial
04:11:05 -
Python SEABORN Tutorial
03:58:27 -
GIT Full Tutorial for Beginners
02:48:56 -
Git and GitHub Tutorial for Beginners
01:14:17
Core Deep Learning Concepts – From Perceptron to Backpropagation
Dive into the most important foundations of deep learning. This section covers Perceptrons, Multi-Layer Perceptrons (MLPs), forward propagation, and backpropagation, giving you the practical understanding and skills to build neural networks from scratch. Each lecture is hands-on and explained step-by-step, so you can apply these concepts directly in PyTorch projects.
-
Perceptron Explained: The Foundation of Neural Networks
48:50 -
Perceptron Explained: The Foundation of Neural Networks 2
18:42 -
MLP (Artificial Neural Network) Explained with Notation
24:55 -
Feed Forward Propagation in Neural Networks Explained
41:14 -
Feed Forward Propagation in Neural Networks Explained
26:52 -
Backpropagation in Neural Networks
51:15 -
Core Deep Learning Concepts – Quiz 1
PyTorch: From Fundamentals to AI Research-Level Development
Master PyTorch from first principles, starting with tensors and autograd, and progressing to research-grade model development. Learn how to write clean, scalable, and experiment-ready code used in real AI labs and research teams. By the end, you’ll be able to read papers, implement architectures, and run serious AI experiments in PyTorch.
-
How to Set Up PyTorch in VS Code & Google Colab (2026 Ultimate Guide)
11:51 -
PyTorch Tensor Creation – torch.tensor(), torch.as_tensor(), torch.from_numpy() Complete Guide
33:55 -
PyTorch Tensor Initialization: torch.zeros(), torch.ones(), and torch.empty() Explained
22:49 -
torch.tensor() vs torch.Tensor() Explained — PyTorch Beginner Mistake!
06:52 -
Tensor Initialization – torch.full(), torch.eye(), torch.diag() Methods Explained
17:07 -
PyTorch Random Tensors Explained: torch.rand(), torch.randn(), torch.randint() Tutorial
10:50 -
Advanced Random Functions – torch.randperm(), torch.multinomial(), torch.normal() Guide
19:04 -
torch.zeros_like(), torch.ones_like(), torch.empty_like(), torch.full_like() Tutorial| Ali Hassan
04:56 -
Random Like Functions – torch.rand_like(), torch.randn_like(), torch.randint_like() | Ali Hassan
07:14 -
Sequence Generation – torch.arange(), torch.linspace(), torch.logspace() Tutorial| Ali Hassan
19:52 -
Tensor Device Creation – Creating Tensors on CPU vs GPU with .to() and .cuda() , .cpu()| Ali Hassan
11:24 -
Complex Tensors – torch.complex(), torch.polar(), torch.view_as_complex() Tutorial| Ali Hassan
26:56 -
Memory Layout – torch.contiguous(), torch.is_contiguous(), memory_format Parameter | Ali Hassan
26:50 -
Tensor Reshaping – .reshape()vs .view() vs .resize_() Complete Comparison| Ali Hassan
25:26 -
Tensor Attributes – .dtype, .device, .requires_grad Properties Explained| Ali Hassan
05:24 -
Advanced Tensor Creation in PyTorch – torch.stack(), torch.cat(), torch.chunk() | Ali Hassan
16:02 -
Tensor Cloning in PyTorch – .clone(), .detach(), .copy_() Explained| Ali Hassan
14:58 -
Tensor Conversion in PyTorch – .numpy(), .tolist(), .item() Methods| Ali Hassan
08:42 -
Tensor Validation – torch.is_tensor(), torch.is_storage(), torch.is_complex() Functions| Ali Hassan
08:33 -
Tensor Comparison PyTorch – torch.equal(), torch.allclose(), torch.isclose() Explained | Ali Hassan
14:11 -
Tensor Info Functions in PyTorch – .shape, .size(), .dim(), .stride() Explained| Ali Hassan
07:14 -
Tensor Utilities – torch.numel(), torch.element_size(), torch.storage_offset() Guide| Ali Hassan
10:33 -
torch.set_default_dtype() – PyTorch’s Global Floating-Point Precision Setter| Ali Hassan
02:13 -
Tensor Memory – .storage(), .data_ptr(), .untyped_storage() Advanced Guide| Ali Hassan
11:25 -
Broadcasting Tensors – torch.broadcast_tensors(), torch.broadcast_to() Tutorial| Ali Hassan
27:39 -
Basic Arithmetic in PyTorch – .add(), .sub(), .mul(), .div() Operations| Ali Hassan
12:46 -
Advanced Arithmetic in PyTorch – .addcdiv(), .addcmul(), .lerp() Functions| Ali Hassan
13:22 -
Power Operations in PyTorch – .pow(), .sqrt(), .rsqrt(), .square() Complete Tutorial| Ali Hassan
09:33 -
Exponential Functions – .exp(), .exp2(), .expm1(),Guide| Ali Hassan
12:53 -
Logarithmic Operations in PyTorch – .log(), .log10(), .log2(), .log1p(), .logaddexp(), .logaddexp2()
22:14 -
Trigonometric Functions in PyTorch – .sin(), .cos(), .tan(), .asin(), .acos(), .atan()| Ali Hassan
12:49 -
Hyperbolic Functions in PyTorch – .sinh(), .cosh(), .tanh(), .asinh(), .acosh(), .atanh | Ali Hassan
10:02 -
Rounding Operations – .round(), .floor(), .ceil(), .trunc(), .frac() Guide| Ali Hassan
15:24 -
Sign and Absolute Functions in PyTorch – .abs(), .sign(), .signbit(), .copysign()| Ali Hassan
09:34 -
Clamping Operations – .clamp(), .clamp_min(), .clamp_max() Complete Guide| Ali Hassan
09:28 -
Remainder Operations in PyTorch – .remainder(), .fmod(),Tutorial| Ali Hassan
13:37 -
Comparison Operations in PyTorch- .eq(), .ne(), .lt(), .le(), .gt(), .ge() Guide| Ali Hassan
10:53 -
Logical Operations in PyTorch- .logical_and(), .logical_or(), .logical_not, .logical_xor| Ali Hassan
17:11 -
Finite Checks in PyTorch- .isfinite(), .isinf(), .isnan(), .isneginf(), .isposinf() | Ali Hassan
05:06 -
Type Checking Functions in PyTorch- .is_complex(), .is_floating_point(), .is_signed() | Ali Hassan
07:29 -
Precision Control in PyTorch- .half(), .float(), .double(), precision conversion| Ali Hassan
03:22 -
Dimension Manipulation in PyTorch – .squeeze(), .unsqueeze(), .flatten() Tutorial| Ali Hassan
12:46 -
Tensor Transposition in PyTorch – .transpose(), .t(), .permute() Methods Explained | Ali Hassan
11:37 -
Tensor Expansion in PyTorch – .expand(), .expand_as(), .repeat() Complete Guide| Ali Hassan
09:50 -
Advanced Tensor Expansion in PyTorch – .repeat_interleave(), .tile(), broadcasting | Ali Hassan
07:35 -
Tensor Slicing in PyTorch – .narrow(), .select(), .slice() Methods Tutorial| Ali Hassan
43:51 -
Tensor Splitting in PyTorch – torch.split(), torch.chunk(), torch.tensor_split() | Ali Hassan
16:42 -
Tensor Uniqueness in PyTorch – torch.unique(), torch.unique_consecutive() Tutorial| Ali Hassan
07:37 -
Tensor Unfolding, Folding in PyTorch – .unflatten(), torch.nn.Unfold(),torch.nn.fold()| Ali Hassan
27:22 -
PyTorch Tensor Indexing – select(), take(), fill(), copy(), and put() Explained| Ali Hassan
14:54 -
Advanced Indexing in PyTorch – .gather(), .scatter(), .scatter_add(), torch.index_add()| Ali Hassan
15:13 -
Tensor Masking in PyTorch – .masked_select(), .masked_fill(), .masked_scatter() Guide| Ali Hassan
08:46 -
Conditional Operations in PyTorch – torch.where(), .masked_fill_()| Ali Hassan
09:28 -
Tensor Padding in PyTorch – torch.nn.functional.pad() and Padding Modes Explained | Ali Hassan
17:02 -
Tensor Sorting in PyTorch – torch.sort(), torch.argsort(), and torch.topk() Explained| Ali Hassan
08:45 -
Tensor Flipping in PyTorch – torch.flip(), torch.fliplr(), torch.flipud() Tutorial| Ali Hassan
04:26 -
Tensor Rolling in PyTorch – torch.roll(), torch.rot90() explained| Ali Hassan
04:10 -
Sum Operations in PyTorch – .sum(), .nansum(), .cumsum(), .cumprod() ,keepdim| Ali Hassan
28:41 -
PyTorch Mean Operations Explained – .mean(), .nanmean(), .median(), .nanmedian() | Ali Hassan
19:29 -
PyTorch Statistics Operations Explained – .std(), .var(), .std_mean(), .var_mean() | Ali Hassan
20:58 -
PyTorch Min/Max Operations – .min(), .max(), .aminmax(), torch.amin(), torch.amax()| Ali Hassan
09:35 -
PyTorch Index-Finding Operations – .argmin(), .argmax(), .mode(), torch.argwhere()| Ali Hassan
15:42 -
PyTorch Product Operations Explained – .prod() Function Tutorial| Ali Hassan
03:24 -
PyTorch Matrix Trace Operations – .trace() and .diagonal().sum() Explained| Ali Hassan
03:36 -
PyTorch Triangular Matrices Explained – .tril() and .triu() Tutorial| Ali Hassan
12:09 -
PyTorch Matrix Multiplication Explained – torch.mm(), torch.matmul(), torch.bmm(), @, .mv(), .ger()
57:36 -
PyTorch Linear Layers Explained – nn.Linear(), nn.LazyLinear(), nn.Bilinear() Tutorial | Ali Hassan
23:43 -
PyTorch Fundamentals Quiz
Hands-On Project: Linear Regression with PyTorch
Apply your deep learning knowledge with a real-world Linear Regression project using PyTorch. This section walks you through data preparation, model building, training, and evaluation, giving you practical experience and confidence to implement AI models from scratch.
-
Linear Regression with PyTorch: Hands-On Project for Beginners
02:56:18 -
Linear Regression Basics in PyTorch
Mathematics for Artificial Intelligence
Learn the essential mathematics that powers artificial intelligence. This section covers linear algebra, calculus, probability, statistics, and discrete math, giving you the foundation to understand algorithms, machine learning, and AI models. Each concept is explained practically, so you can apply it to real-world AI problems with confidence.
-
Lecture 1: Math for AI (Artificial Intelligence)– Real, Rational, Complex, Logarithms,Exponents
03:49:59 -
Lecture 2: Math for AI (Artificial Intelligence)– Set Theory, Mathematical Logic
02:13:51 -
Lecture 3 : Matrix Theory & Linear Systems | From Basics to AI Applications
04:00:22 -
Lecture 4 : Sequences, Series, Factorials, Permutations, Combinations & Binomial Theorem Explained
03:57:24 -
Lecture 5: Complete Geometry and Mensuration: From Basic Points to 3D Shapes
02:32:52 -
Mathematics for AI
All Activation Functions in Deep Learning – Explained with PyTorch
Learn and implement all major activation functions used in deep learning. This section covers: Linear, Threshold, Sigmoid, Tanh, Softmax, ReLU, LeakyReLU, Parametric ReLU (PReLU), ELU, SELU, Swish, Softplus, and Mish, with step-by-step explanations and practical PyTorch coding. By the end, you’ll know when and how to use each function in your neural networks to build efficient, high-performing AI models.
-
Linear Activation Function Explained || Why Use a Linear Activation Function?
03:07 -
Coding the Linear Activation Function in PyTorch: Step-by-Step Guide
01:30 -
Threshold Activation Function Explained || Why Use a Threshold Activation Function?
04:12 -
Coding the Threshold Activation Function in PyTorch: Step-by-Step Guide
05:08 -
Sigmoid Activation Function Explained & It’s Derivative || Why Use a Sigmoid Activation Function?
01:12:06 -
Coding the Sigmoid Activation Function in PyTorch: Step-by-Step Guide
01:35 -
Tanh Activation Function Explained & It’s Derivative || Why Use a Tanh Activation Function?
14:44 -
Coding the Tanh Activation Function in PyTorch: Step-by-Step Guide
01:46 -
Softmax Activation Function Explained & It’s Derivative || Why Use a Softmax Activation Function?
22:35 -
Coding the Softmax Activation Function in PyTorch: Step-by-Step Guide
03:46 -
Rectified Linear Unit (ReLU) Activation Function Explained & It’s Derivative
28:30 -
Coding the Rectified Linear Unit (ReLU) Activation Function in PyTorch: Step-by-Step Guide
02:11 -
Leaky ReLU (Leaky Rectified Linear Unit) Activation Function Explained & It’s Derivative
18:25 -
Coding the Leaky ReLU (Leaky Rectified Linear ) Activation Function in PyTorch: Step-by-Step Guide
04:46 -
Parametric ReLU (PReLU) Activation Function Explained & It’s Derivative
06:49 -
Coding the Parametric ReLU (PReLU) Activation Function in PyTorch: Step-by-Step Guide
02:20 -
Exponential Linear Unit (ELU) Activation Function Explained & It’s Derivative
15:19 -
Coding the Exponential Linear Unit (ELU) Activation Function in PyTorch: Step-by-Step Guide
03:04 -
Scaled Exponential Linear Unit (SELU) Activation Function Explained & It’s Derivative
12:16 -
Coding the Scaled Exponential Linear Unit (SELU) Activation Function in PyTorch: Step-by-Step Guide
02:23 -
Swish Activation Function Explained & It’s Derivative
17:12 -
Coding the Swish Activation Function in PyTorch: Step-by-Step Guide
00:57 -
Softplus Activation Function Explained & It’s Derivative
10:57 -
Coding the Softplus Activation Function in PyTorch: Step-by-Step Guide
02:45 -
Mish Activation Function Explained & It’s Derivative
07:19 -
Coding the Mish Activation Function in PyTorch: Step-by-Step Guide
00:49 -
All Activation Functions in Deep Learning – Explained with PyTorch
All Loss & Cost Functions in Deep Learning – Explained with PyTorch
Master all key loss and cost functions used in neural networks and AI. This section covers: Mean Squared Error (MSE), Mean Absolute Error (MAE), Mean Bias Error (MBE), Root Mean Squared Error (RMSE), Root Mean Squared Log Error (RMSLE), Huber Loss (Smooth L1), Log-Cosh Loss, Binary Cross-Entropy (BCE), Categorical Cross-Entropy, and other important cost functions, with step-by-step PyTorch implementations. You’ll learn how each function works, when to use it, and how it impacts model performance.
-
All Loss(Cost) Functions Explained || Loss Function vs Cost Function| Convex and non Convex loss
12:07 -
32:30
-
Coding the Mean Squared Error (MSE)(L2 LOSS) Cost Function in PyTorch: Step-by-Step Guide
02:32 -
Mean Absolute Error (MAE)(L1 Loss) Cost Function Explained & It’s Derivative
12:53 -
Coding the Mean Absolute Error (MAE)(L1 Loss) Cost Function in PyTorch: Step-by-Step Guide
02:07 -
Mean Bias Error (MBE) Cost Function Explained & It’s Derivative
03:19 -
Coding the Mean Bias Error (MBE) Cost Function in PyTorch: Step-by-Step Guide
01:23 -
Root Mean Squared Error (RMSE) Cost Function Explained & It’s Derivative
04:46 -
Coding the Root Mean Squared Error (RMSE) Cost Function in PyTorch: Step-by-Step Guide
01:40 -
Root Mean Squared Logarithmic Error (RMSLE) Cost Function Explained & It’s Derivative
14:19 -
Root Mean Squared Logarithmic Error (RMSLE) Cost Function in PyTorch: Step-by-Step Guide
04:11 -
Huber Loss(Smooth L1 Loss) Cost Function Explained & It’s Derivative
16:02 -
Huber Loss(Smooth L1 Loss) Cost Function in PyTorch: Step-by-Step Guide
08:55 -
Log-Cosh Loss Cost Function Explained & It’s Derivative
04:46 -
Log-Cosh Loss Cost Function in PyTorch: Step-by-Step Guide
01:12 -
Binary Cross-Entropy Loss (BCE)(logloss) Cost Function Explained & It’s Derivative
43:05 -
Binary Cross-Entropy Loss (BCE)(logloss) Cost Function in PyTorch: Step-by-Step Guide
06:04 -
Categorical Cross-Entropy Loss Cost Function Explained & It’s Derivative
32:33 -
Coding Categorical Cross-Entropy Loss Cost Function in PyTorch: Step-by-Step Guide
06:06 -
All Loss & Cost Functions in Deep Learning – Explained with PyTorch
All Optimizers in Deep Learning – Explained with PyTorch
Learn all major optimization algorithms that make neural networks train effectively. This section covers: Gradient Descent (Batch, Stochastic, Mini-Batch), Exponentially Weighted Moving Average (EWMA), SGD with Momentum, Nesterov Accelerated Gradient (NAG), AdaGrad, RMSProp, and Adam (Adaptive Moment Estimation) — all explained theoretically and implemented step-by-step in PyTorch. By the end, you’ll know how to select and apply the right optimizer to achieve faster convergence and better model performance.
-
Batch Gradient Descent Explained || Stochastic Gradient Descent (SGD)|| Mini-batch Gradient Descent
01:55:14 -
Coding Batch,SGD,Mini,Gradient Descent in PyTorch: Step-by-Step Guide
04:07 -
Exponentially Weighted Moving Average (EWMA) Explained || Understanding EWMA and Its Applications
44:13 -
SGD with Momentum Explained || Boosting Gradient Descent with Momentum
33:25 -
Coding SGD with Momentum Optimizer in PyTorch: Step-by-Step Guide
01:07 -
Nesterov Accelerated Gradient (NAG) Optimizer Explained & It’s Derivative
14:41 -
Coding Nesterov Accelerated Gradient (NAG) Optimizer in PyTorch: Step-by-Step Guide
01:24 -
AdaGrad & RMSProp Optimizers Explained & It’s Derivative
25:04 -
Coding AdaGrad & RMSProp Optimizer in PyTorch: Step-by-Step Guide
02:02 -
Adam (Adaptive Moment Estimation) Optimizers Explained & It’s Derivative
11:55 -
Coding Adam (Adaptive Moment Estimation) Optimizer in PyTorch: Step-by-Step Guide
00:59 -
All Optimizers in Deep Learning – Explained with PyTorch
Hands-On Project: Logistic Regression with PyTorch
Build practical skills with a Logistic Regression project in PyTorch. You’ll learn data preprocessing, model creation, training, and evaluation, giving you hands-on experience and a portfolio-ready AI project to showcase your machine learning expertise.
-
Logistic Regression with PyTorch: Hands-On Project for Beginners
03:11:53 -
Hands-On Project: Logistic Regression with PyTorch
Hands-On Project: Classification with Neural Networks in PyTorch
Get practical experience building classification models using neural networks in PyTorch. This project walks you through data preparation, model building, training, and evaluation, giving beginners hands-on skills and a portfolio-ready project to showcase real AI expertise.
-
Classification With Neural Networks with PyTorch: Hands-On Project for Beginners
01:23:16 -
Hands-On Project: Classification with Neural Networks in PyTorch
Improving Neural Network Performance
Learn how to optimize and stabilize your neural networks for better performance. This section covers: Vanishing & Exploding Gradients Overfitting & Underfitting Regularization Techniques: L1, L2, Elastic Net Dropout for Robust Models All Key Normalizations: Batch, Layer, Group, Instance, RMS, and input normalization All concepts are explained theoretically and implemented step-by-step in PyTorch, giving you hands-on experience to build efficient and high-performing AI models.
-
Vanishing & Exploding Gradients Explained || Why Do Gradients Vanish or Explode?
18:06 -
Overfitting & Underfitting Explained || Why Do Models Overfit or Underfit?
27:00 -
Regularization in Deep Learning || L1, L2, and Elastic Net Explained!
42:00 -
Coding Regularization in PyTorch || L1, L2, and Elastic Net
07:45 -
Dropout in Deep Learning Explained || Preventing Overfitting in Neural Networks!
09:00 -
All Normalizations Explained: Batch, Layer, Instance, Group, RMS
02:57:00 -
Coding All Normalizations Explained With Pytorch : Batch, Layer, Instance, Group, RMS
14:43 -
Improving Neural Network Performance
Natural Language Processing (NLP) – Sentiment Analysis, LSTM & Seq2Seq Models
Master NLP techniques with hands-on PyTorch projects. This section covers: Sentiment Analysis using Word Embeddings and Neural Bag of Words Recurrent Neural Networks (LSTM) Sequence-to-Sequence (Seq2Seq) Models You’ll learn how to process text, build NLP models, and implement real-world applications, gaining practical experience to handle AI language tasks and build portfolio-ready projects.
-
must watch
00:50 -
Introduction to NLP
47:49 -
End to End NLP Pipeline
01:18:51 -
Text Preprocessing
01:07:48 -
Text Representation
01:44:00 -
Word2vec
01:16:01 -
Hands-On Project: Sentiment Analysis with Word Embeddings in PyTorch
04:19:21 -
Hands-On Project: Sentiment Analysis with LSTM in PyTorch
02:40:21 -
Hands-On Project: Build a Mini Google Translate using Seq2Seq in PyTorch
05:41:23 -
Natural Language Processing (NLP) – Sentiment Analysis, LSTM & Seq2Seq Models
Implementing Transformers from Scratch in PyTorch (Research-Driven Approach)
Implement the Transformer architecture line-by-line in PyTorch while systematically studying the original research paper. Translate mathematical formulations—self-attention, multi-head attention, positional encoding, and normalization—directly into working code. This section builds true architectural understanding, preparing you for LLM research, model scaling, and advanced AI engineering roles.
-
11:46:24
-
Coding Transformer From Scratch With Pytorch || Part 2
59:37 -
Implementing Transformers from Scratch in PyTorch
Computer Vision with PyTorch: From Fundamentals to Modern Architectures
Learn how machines see, understand, and reason about images using PyTorch. This section covers core computer vision concepts, feature learning, and modern deep learning approaches used in real-world systems. Build a strong foundation for image classification, detection, segmentation, and vision-based AI research.
-
Convolutional Layers: nn.Conv2d, Filters, Padding, Kernels, and Image Types (Grayscale & RGB) CV 001
44:59 -
Image Classification with Logistic Regression in PyTorch | Beginner Friendly Tutorial | Ali Hassan
01:11:08 -
Image Classification with MLP in PyTorch – Step-by-Step Tutorial| Ali Hassan
03:39:56 -
Master PyTorch Conv2d: Filters, Edge Detection, LazyConv2d & Output Size Formula CV 002 | Ali Hassan
01:26:28 -
Pooling Layers in PyTorch Explained – MaxPool2d, AvgPool2d, AdaptiveMaxPool2d & AdaptiveAvgPool2d
53:16 -
LeNet-5 from Scratch in PyTorch – Image Classification LeNet-5 in PyTorch | Ali Hassan
39:05 -
01:26:00
-
PyTorch Min–Max Normalization | Scale Images & Feature Maps to [0,1] (with Code)| Ali Hassan
17:00 -
PyTorch nn.Sequential Explained | Build Neural Networks Step by Step| Ali Hassan
09:00 -
Learning Rate Finder in PyTorch | Best LR & Exponential Learning Rate Scheduler Explained|Ali Hassan
01:42:19 -
AlexNet from Scratch in PyTorch | Image Classification Tutorial | Ali Hassan
01:14:00 -
VGGNet from Scratch in PyTorch | VGG11, VGG13, VGG16, VGG19 for Image Classification | Ali Hassan
01:24:00 -
02:56:38
-
Computer Vision with PyTorch: From Fundamentals to Modern Architectures
Vision Transformer (ViT): From Research Paper to PyTorch Implementation
Implement the Vision Transformer from scratch in PyTorch by rigorously studying the original research paper. Translate patch embeddings, positional encoding, self-attention, and classification heads from theory into clean, modular code. Gain a deep research-level understanding of how Transformers replace CNNs in modern computer vision systems.
-
06:52:59
-
Vision Transformer (ViT): From Research Paper to PyTorch Implementation
Generative Models – From Fundamentals to Advanced Architectures
Learn how AI systems create new data instead of just predicting it. This section builds strong intuition behind modern generative models, training strategies, and real-world use cases. A foundation that prepares you for advanced Generative AI, image synthesis, text generation, and future models.
-
02:22:18
-
Hands-On Project: Image Generation from Scratch with Deep Convolutional Generative Models (PyTorch)
02:20:41 -
Least_Squares_GAN
07:00 -
WGAN: Wasserstein Generative Adversarial Networks
09:00 -
Generative Models – From Fundamentals to Advanced Architectures
BERT From Scratch in PyTorch – Research-Grade Implementation
In this section, you will implement BERT (Bidirectional Encoder Representations from Transformers) completely from scratch using PyTorch, without relying on high-level libraries. You’ll start by understanding the original BERT research paper and its core ideas, then translate each concept into clean, modular code.
You will build every major component step by step, including token embeddings, segment embeddings, positional encodings, multi-head self-attention, encoder stacks, and layer normalization. You will also implement Masked Language Modeling (MLM) and Next Sentence Prediction (NSP) to understand how BERT is pre-trained in real research and industry settings.
By the end of this section, you won’t just use BERT—you’ll fully understand how it works internally, preparing you for LLM research, model fine-tuning, custom transformer architectures, and advanced NLP engineering roles.
What You’ll Build
A full BERT encoder architecture in PyTorch
Masked Language Modeling (MLM) training pipeline
Next Sentence Prediction (NSP) objective
A research-ready BERT implementation you can extend or fine-tune
-
Coding BERT From Scratch Using PyTorch
06:30:33
U-Net Image Segmentation Project From Scratch in PyTorch
-
U-Net Image Segmentation Project From Scratch in PyTorch
02:21:51 -
Code
Coding Swin Transformer from Scratch in PyTorch
-
Coding Swin Transformer from Scratch in PyTorch part 1
50:17 -
Coding Swin Transformer from Scratch in PyTorch part 2
21:25 -
Coding Swin Transformer from Scratch in PyTorch part 3
01:30:30 -
Coding Swin Transformer from Scratch in PyTorch part 4
01:19:08
Coding Large Language Models (ChatGPT, Llama & GPT) From Scratch Using PyTorch
-
Introduction of Large Language Models
04:07 -
Base OF Large Language Models
11:46:25 -
Base OF Large Language Models part 2
59:36 -
Normalizations in Large Language Models
05:00 -
Normalizations in Large Language Models part 2
02:57:00 -
Normalizations in Large Language Models part 3
14:43 -
Weight Initialization Techniques in Large Language Models
05:00 -
Weight Initialization Techniques in Large Language Models part 2
01:26:00 -
Coding ChatGPT, GPT From Scratch Using PyTorch
01:37:47 -
Coding Llama 2 From Scratch Using PyTorch
14:25 -
RMS Normalization (RMSNorm) in Llama 2
05:00 -
Rotary Positional Embeddings (RoPE) in Llama 2
01:04:09 -
Grouped Query Attention in Llama 2
41:41 -
Text Generation With Llama 2
38:36
Coding Stable Diffusion From Scratch Using PyTorch
-
Understanding Stable Diffusion Architecture
12:44 -
Cross and Self-Attention in Stable Diffusion
22:06 -
Clip Text Encoder in Stable Diffusion
16:03 -
Variational Autoencoder (VAE) in Stable Diffusion
01:04:58 -
U-Net and Diffusion model in Stable Diffusion
45:09 -
DDPMScheduler in Stable Diffusion
02:05:05 -
stable-diffusion training ,inference (pytorch)
01:28:52
Coding Multimodal(Vision) PaliGemma From Scratch Using PyTorch
-
PaliGemma architecture
07:07 -
Imports of PaliGemma
07:10 -
SigLIP Vision Encoder (Vision Part) of PaliGemma
40:11 -
Image Processing and PaliGemmaProcessor
23:07 -
Building the Gemma Language Model from Scratch | Config, RMSNorm, RoPE & Attention
46:53 -
Building KV Cache from Scratch in PyTorch | Gemma LLM
43:18 -
Building PaliGemma from Scratch | Multimodal Fusion & Forward Pass
58:05 -
PaliGemma Dataset,Tokenizer,Training & Inference
01:38:06
Earn a certificate
Add this certificate to your resume to demonstrate your skills & increase your chances of getting noticed.
Student Ratings & Reviews
Company
Quick Links
Contact
+92 341 1145196
support@mrelan.com
I-8 Markaz in Islamabad
Copyright © 2026 All Right Reserved by Mrelan
Want to receive push notifications for all major on-site activities?