Skip to content
#

decoder-only-transformer

Here are 4 public repositories matching this topic...

A complete implementation of a Decoder-Only Transformer (GPT-style) built using PyTorch, without relying on high-level abstractions. This implementation includes all core components: token embeddings, positional embeddings, multi-head self-attention, feedforward networks, causal masking, and output logits generation.

  • Updated Feb 18, 2026
  • Python

A hands-on implementation of the technologies behind modern Large Language Models, covering gradient descent, backpropagation, tokenization, transformers, self-attention, and GPT architecture. The project emphasizes understanding AI systems from first principles rather than relying solely on high-level frameworks.

  • Updated Jun 12, 2026
  • Python

Improve this page

Add a description, image, and links to the decoder-only-transformer topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

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

Learn more