mattneary / attention
visualizing attention for LLM users
☆211Updated 5 months ago
Alternatives and similar repositories for attention
Users that are interested in attention are comparing it to the libraries listed below
Sorting:
- What's In My Big Data (WIMBD) - a toolkit for analyzing large text datasets☆218Updated 6 months ago
- Extract full next-token probabilities via language model APIs☆244Updated last year
- Code and data for "Lost in the Middle: How Language Models Use Long Contexts"☆343Updated last year
- Evaluating LLMs with fewer examples☆153Updated last year
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆172Updated 3 months ago
- ☆288Updated last year
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆217Updated 7 months ago
- Code accompanying "How I learned to start worrying about prompt formatting".☆105Updated 7 months ago
- Steering Llama 2 with Contrastive Activation Addition☆151Updated 11 months ago
- ☆171Updated 3 weeks ago
- Function Vectors in Large Language Models (ICLR 2024)☆166Updated last month
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆490Updated last year
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆172Updated this week
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆92Updated last year
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆201Updated 5 months ago
- datasets from the paper "Towards Understanding Sycophancy in Language Models"☆75Updated last year
- Code for NeurIPS'24 paper 'Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization'☆191Updated 5 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆100Updated 2 months ago
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model☆522Updated 3 months ago
- ☆82Updated 9 months ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆222Updated 6 months ago
- LongEmbed: Extending Embedding Models for Long Context Retrieval (EMNLP 2024)☆135Updated 6 months ago
- ☆515Updated 5 months ago
- Attribute (or cite) statements generated by LLMs back to in-context information.☆231Updated 7 months ago
- ☆265Updated last year
- ☆112Updated 6 months ago
- [EMNLP 2023] Adapting Language Models to Compress Long Contexts☆304Updated 8 months ago
- Scripts for generating synthetic finetuning data for reducing sycophancy.☆111Updated last year
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.☆412Updated last year
- Code to reproduce "Transformers Can Do Arithmetic with the Right Embeddings", McLeish et al (NeurIPS 2024)☆189Updated 11 months ago