Decoder only transformer, built from scratch with PyTorch
☆33Oct 22, 2023Updated 2 years ago
Alternatives and similar repositories for transformer-from-scratch
Users that are interested in transformer-from-scratch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Repository with sample code using Apollo's suggested engineering practices☆15Dec 16, 2024Updated last year
- A quick way to get started with Transformer Lens☆14Dec 13, 2023Updated 2 years ago
- ☆14Jul 12, 2024Updated last year
- ☆20Nov 15, 2024Updated last year
- A python sdk for LLM finetuning and inference on runpod infrastructure☆30May 12, 2026Updated last week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Investigating the generalization behavior of LM probes trained to predict truth labels: (1) from one annotator to another, and (2) from e…☆30May 23, 2024Updated last year
- A benchmark for mechanistic discovery of circuits in Transformers☆17Dec 15, 2024Updated last year
- A library for mechanistic anomaly detection☆22Jan 9, 2025Updated last year
- Sparse Autoencoder for Mechanistic Interpretability☆296Jul 20, 2024Updated last year
- Mechanistic Interpretability Visualizations using React☆346Apr 30, 2026Updated 2 weeks ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆258Feb 27, 2026Updated 2 months ago
- ☆20Feb 17, 2023Updated 3 years ago
- ☆166May 1, 2026Updated 2 weeks ago
- A blog on AI, personal development, and living a good life.☆40Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Experiments with representation engineering☆14Feb 28, 2024Updated 2 years ago
- Trains small LMs. Designed for training on SimpleStories☆13Sep 15, 2025Updated 8 months ago
- Sparse and discrete interpretability tool for neural networks☆64Feb 12, 2024Updated 2 years ago
- Minimum Description Length probing for neural network representations☆20Jan 28, 2025Updated last year
- Fluent dreaming for language models☆13Jul 22, 2024Updated last year
- A library for efficient patching and automatic circuit discovery.☆97Dec 31, 2025Updated 4 months ago
- A python package for protein inference in Mass Spectrometric data analysis.☆10Jun 6, 2022Updated 3 years ago
- Code for our paper "Localizing Lying in Llama"☆14Apr 24, 2025Updated last year
- ☆416Aug 21, 2025Updated 8 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆78Jun 23, 2025Updated 10 months ago
- einsum via batch matrix multiply☆15Nov 29, 2023Updated 2 years ago
- Efficiently computing & storing token n-grams from large corpora☆27Oct 6, 2024Updated last year
- Situational Awareness Dataset☆50Dec 14, 2024Updated last year
- A library for bridging Python and HTML/Javascript (via Svelte) for creating interactive visualizations☆17Apr 15, 2024Updated 2 years ago
- Interpreting how transformers simulate agents performing RL tasks☆90Oct 23, 2023Updated 2 years ago
- (Model-written) LLM evals library☆18Dec 13, 2024Updated last year
- ☆11Mar 24, 2025Updated last year
- Code for our paper "Decomposing The Dark Matter of Sparse Autoencoders"☆23Feb 6, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- ☆13Aug 19, 2024Updated last year
- Providing the answer to "How to do patching on all available SAEs on GPT-2?". It is an official repository of the implementation of the p…☆13Jan 26, 2025Updated last year
- Official Code for our paper: "Language Models Learn to Mislead Humans via RLHF""☆19Oct 11, 2024Updated last year
- Attribution-based Parameter Decomposition☆34Jun 11, 2025Updated 11 months ago
- ☆282Oct 1, 2024Updated last year
- A simple algorithm that finds a simultaneous block diagonalization of multiple matrices through the eigendecomposition of a single matrix…☆16Feb 24, 2026Updated 2 months ago
- Tools for understanding how transformer predictions are built layer-by-layer☆589Aug 7, 2025Updated 9 months ago