s-chh

Advanced
@s-chh

PyTorch-Scratch-Vision-Transformer-ViT. Simple and easy to understand PyTorch implementation of Vision Transformer (ViT) from scratch, with detailed steps. Tested on common datasets like MNIST, CIFAR10, and more.

157

2D-Positional-Encoding-Vision-Transformer. PyTorch implementation of 2D Positional Encodings for Vision Transformers (ViT). Positional Encodings/Embeddings: Sinusoidal (Absolute), Learnable, Relative and Rotation (Rope).

43

PyTorch-GANs. From scratch, simple and easy-to-understand Pytorch implementation of various generative adversarial network (GAN): GAN, DCGAN, Conditional GAN (cGAN), WGAN, WGAN-GP, CycleGAN, LSGAN, and StarGAN.

25

Find-Duplicate-Photos-Video. Python code to find duplicate images (photos) and videos in folders recursively and delete them (Optional).

18

PyTorch-Scratch-LLM. Simple and easy to understand PyTorch implementation of Large Language Model (LLM) GPT and LLAMA from scratch with detailed steps. Implemented: Byte-Pair Tokenizer, Rotational Positional Embedding (RoPe), SwishGLU, RMSNorm, Mixture of Experts (MOE). Tested on Taylor Swift song lyrics dataset.

11

PatchSwap. Official Pytorch code for PatchSwap: A Regularization Technique for Vision Transformers

6

PyTorch-DANN. Unofficial PyTorch implementation of Domain-Adversarial Training of Neural Networks

6

PatchRot. Official Pytorch Implementation of PatchRot: PatchRot: Self-Supervised Training of Vision Transformers by Rotation Prediction

3

LSPP. Official PyTorch Implementation of Label Smoothing++: Enhanced Label Regularization for Training Neural Networks.

3

Glocal. Official PyTorch Implementation of Glocal Alignment for Unsupervised Domain Adaptation

3

Pytorch-NST. Pytorch implementation of Neural Style Transfer

2
11
Apply