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.
☆11Nov 18, 2024Updated last year
Alternatives and similar repositories for PyTorch-Scratch-LLM
Users that are interested in PyTorch-Scratch-LLM are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Official PyTorch implementation of the paper 'Graph(Graph): A Nested Graph-Based Framework for Early Accident Anticipation'☆14Jul 2, 2024Updated 2 years ago
- Python code to find duplicate images (photos) and videos in folders recursively and delete them (Optional).☆18Oct 25, 2024Updated 2 years ago
- From scratch, simple and easy-to-understand Pytorch implementation of various generative adversarial network (GAN): GAN, DCGAN, Condition…☆25Oct 25, 2024Updated 2 years ago
- Simple and easy to understand PyTorch implementation of Vision Transformer (ViT) from scratch, with detailed steps. Tested on common data…☆158Aug 17, 2025Updated last year
- C implementation of a simple web browser☆19Oct 31, 2012Updated 13 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- GPU Micro Architecture☆20Jun 22, 2026Updated 4 months ago
- ☆18Jul 1, 2026Updated 3 months ago
- Find, list, and inspect processes from Go (golang).☆10Feb 4, 2018Updated 8 years ago
- ☆10Jul 6, 2023Updated 3 years ago
- This tool generates AI faces for Football Manager, compatible with NewGan and similar AI face pack installers (FMRTE). It uses the DeepIn…☆12Oct 12, 2024Updated 2 years ago
- f-GANs in an Information Geometric Nutshell☆13Jun 21, 2017Updated 9 years ago
- Python MCMC☆13Apr 18, 2011Updated 15 years ago
- Pytorch implementation of DANN☆20Oct 28, 2018Updated 7 years ago
- Speech Commands Recognition using end-to-end deep learning models in pytorch☆28Oct 8, 2020Updated 6 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- ☆11Mar 30, 2016Updated 10 years ago
- This repo includes simple C++ console games. Basic C++ methods, pointers, functions integrated in here. Highly recommended for beginners.☆23Apr 13, 2025Updated last year
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆15Aug 31, 2023Updated 3 years ago
- 保存(原)东京工业大学IGP群的资料☆15Oct 10, 2024Updated 2 years ago
- Restricted Boltzmann Machine implementation in Python for pre-training deep neural networks☆15Mar 17, 2014Updated 12 years ago
- Llama causal LM fully recreated in LibTorch. Designed to be used in Unreal Engine 5☆16Sep 19, 2024Updated 2 years ago
- 教材自学讲义神器☆31Aug 18, 2026Updated 2 months ago
- LLM implementation one matrix multiplication at a time☆14Aug 8, 2024Updated 2 years ago
- Malware Configuration And Payload Extraction☆18Updated this week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Implement feedforward, convolution neural network in C++ with only built-in libraries. This is a tutorial style project which implements …☆30Apr 10, 2018Updated 8 years ago
- ☆16Sep 26, 2017Updated 9 years ago
- Python implementation of Payriff Gateway APIs☆12Nov 29, 2023Updated 2 years ago
- PyTorch extension enabling direct access to cuDNN-accelerated C++ convolution functions.☆13Mar 14, 2021Updated 5 years ago
- TyDiP Multilingual Politeness dataset and code☆12Oct 15, 2023Updated 3 years ago
- Testing tool to evaluate Pangea Prompt Guard service efficacy.☆13Oct 3, 2025Updated last year
- Codes for CVPR 2024 paper "SpikeNeRF: Learning Neural Radiance Fields from Continuous Spike Stream"☆24Apr 1, 2024Updated 2 years ago
- Container Traits for Modern C++☆30Oct 11, 2020Updated 6 years ago
- High Performance FP8 GEMM Kernels for SM89 and later GPUs.☆21Jan 24, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- PoC for setting up an ElasticSearch Cluster, to serve APIs built in Flask☆11Apr 10, 2021Updated 5 years ago
- Business Transaction Library for Python based projects☆11May 17, 2022Updated 4 years ago
- Voice changing made simple☆15May 31, 2026Updated 4 months ago
- External implementation of a WriteStream and ReadStream for Hypercore☆12Nov 6, 2020Updated 5 years ago
- Elm-to-Gleam transpiler☆17Feb 11, 2025Updated last year
- Official Salva plugin for the Bevy game engine.☆16Dec 8, 2020Updated 5 years ago
- Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective☆21Jul 15, 2025Updated last year