Mashaan blog

youtube website linkedin X

Hi there 👋

I’m Mashaan (مشعان)

I create YouTube tutorials, and for each video, I also create a corresponding post featuring code snippets and figures related to the topic. You can find all of these posts in this repository, organized into the following sections:

Vision Transformers and Their Applications

Video Code Title
code Vision Transformers (ViT) PyTorch Code
code Analyzing Swin Transformer: A Code Walkthrough
code A Deep Dive into Swin Transformer Attention Maps
code Vision Transformers (ViT): A JAX Tutorial for Image Classification
code Getting to Know MLP-Mixer: A CIFAR-10 Run
code Fine-tuning Vision Transformers on TPU (ImageNet/CIFAR-10)
code Hands-On with TAPIR: Point Tracking Experiment & Code Walkthrough
code PyTorch Conv2d Explained
code MLP-Mixer in PyTorch: Google Gemini’s Code Generation
code ViT vs CNN: A Comparative Experiment
code Experimenting Object Detection with DETR

Graph Neural Networks

Video Code Title
code Graph Convolutional Networks (GCNs) in PyTorch
code Graph Sampling for GNNs: A Tutorial
code Exploring LightGCN: A Movie Recommendations Experiment
code Graph Contrastive Learning: Building MovieLens-100k Recommendations
code Understanding Mini-Batch Training in PyTorch Geometric
code Graph Attention Networks with PyTorch Geometric
code Graph Attention Networks with JAX
code Implementing GNN Neighbor Sampler in JAX: A Practical Guide
code Building a Cluster-GCN Model with JAX: A Step-by-Step Guide
code Training GCNs with PyG and Jraph: A Side-by-Side Comparison

Self-Supervised Learning

Video Code Title
code Inside DINOv2: Architecture Analysis + CIFAR-10 Experiment
code Self-Supervised Learning Review: From SimCLR to DINOv2
code I-JEPA Explained with a Single CIFAR-10 Batch
code Self-Supervised Learning Collapse: a Quick CIFAR-10 Experiment

Neural Radiance Fields (NeRF)

Video Code Title
code VGG-SfM and Mip-NeRF 360 Pipeline for iPhone Video 3D Reconstruction
code Exploring Mip-NeRF 360: A Quick TPU Experiment
code Nerfstudio on Lightning AI (GPU Installation Tutorial)
code Structure from Motion (SfM): From COLMAP to VGGSfM
code How NeRF Works: Exploring a Tiny NeRF Code
code 3D Gaussian Splatting: Optimization Explained & Viewer Demo

JAX Performance Tips

Video Code Title
code Free TPU Access & JAX/PyTorch Setup with TPU Research Cloud
code JAX JIT Compilation Explained: From Python to JAXPR
code JAX Conv Layer Explained

Basic Machine Learning

Video Code Title
code A Step-by-Step Guide to Spectral Clustering
code JAX and Flax: A Simple Neural Network
code RBF: The Most Liked Formula in Machine Learning
code Exploring Sparse Subspace Clustering: Theory and Practice