mcleish7 / arithmetic
Code to reproduce "Transformers Can Do Arithmetic with the Right Embeddings", McLeish et al (NeurIPS 2024)
☆189Updated 10 months ago
Alternatives and similar repositories for arithmetic:
Users that are interested in arithmetic are comparing it to the libraries listed below
- Understand and test language model architectures on synthetic tasks.☆190Updated last month
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆166Updated this week
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆229Updated last month
- A MAD laboratory to improve AI architecture designs 🧪☆109Updated 3 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆103Updated 4 months ago
- ☆128Updated last week
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆192Updated 3 months ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆123Updated 11 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆125Updated 4 months ago
- A curated reading list of research in Adaptive Computation, Inference-Time Computation & Mixture of Experts (MoE).☆142Updated 3 months ago
- ☆85Updated 4 months ago
- ☆174Updated last year
- Code for NeurIPS'24 paper 'Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization'☆186Updated 4 months ago
- ☆76Updated 9 months ago
- Code for reproducing our paper "Not All Language Model Features Are Linear"☆73Updated 4 months ago
- RuLES: a benchmark for evaluating rule-following in language models☆220Updated last month
- ☆71Updated 2 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆123Updated 7 months ago
- ☆121Updated last year
- ☆60Updated 11 months ago
- ☆164Updated last month
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆165Updated 3 months ago
- Token Omission Via Attention☆126Updated 5 months ago
- ☆48Updated last year
- OpenCoconut implements a latent reasoning paradigm where we generate thoughts before decoding.☆170Updated 2 months ago
- Repository for the paper Stream of Search: Learning to Search in Language☆142Updated 2 months ago
- ☆51Updated 10 months ago
- Experiments for efforts to train a new and improved t5☆77Updated 11 months ago
- nanoGPT-like codebase for LLM training☆91Updated last week