Skip to content
#

causal-attention

Here are 11 public repositories matching this topic...

VEHANT Causal Temporal Action Detection System: State-of-the-art deep learning for real-time fight/collapse detection in videos. Features causal attention, motion tokenization, MediaPipe skeletons, uncertainty quantification, and multi-task learning (class + bbox + temporal). 95% accuracy, ONNX/Docker-ready, 25ms GPU inference. 🚀

  • Updated Feb 12, 2026
  • Python

A complete from-scratch PyTorch implementation of the GPT-2 architecture (345M Medium & 124M Small). Features custom multi-head causal attention, Pre-LayerNorm blocks, OpenAI checkpoint weight loading, vectorized top-k/temperature sampling, and Apple Silicon MPS/CUDA acceleration.

  • Updated Oct 29, 2026
  • Jupyter Notebook

From-scratch, first-principles implementations of every major attention mechanism — from vanilla dot-product attention to multi-head, causal, and modern LLM-scale variants (MLA, GQA, Flash Attention). Every notebook derives the math by hand, verifies it with loops before vectorizing, and builds up to a reusable PyTorch module.

  • Updated Jul 6, 2026
  • Jupyter Notebook

Add this topic to your repo

To associate your repository with the causal-attention topic, visit your repo's landing page and select "manage topics."

Learn more