mattneary / attention
visualizing attention for LLM users
☆202Updated 3 months ago
Alternatives and similar repositories for attention:
Users that are interested in attention are comparing it to the libraries listed below
- Code accompanying "How I learned to start worrying about prompt formatting".☆105Updated 6 months ago
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆169Updated last month
- Extract full next-token probabilities via language model APIs☆240Updated last year
- Evaluating LLMs with fewer examples☆148Updated 11 months ago
- Steering Llama 2 with Contrastive Activation Addition☆136Updated 10 months ago
- What's In My Big Data (WIMBD) - a toolkit for analyzing large text datasets☆217Updated 4 months ago
- Erasing concepts from neural representations with provable guarantees☆228Updated 2 months ago
- Steer LLM outputs towards a certain topic/subject and enhance response capabilities using activation engineering by adding steering vecto…☆231Updated last month
- Steering vectors for transformer language models in Pytorch / Huggingface☆93Updated 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
- datasets from the paper "Towards Understanding Sycophancy in Language Models"☆74Updated last year
- Function Vectors in Large Language Models (ICLR 2024)☆154Updated 3 weeks ago
- ☆163Updated last month
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆91Updated last year
- Controlled Text Generation via Language Model Arithmetic☆216Updated 6 months ago
- Scaling Data-Constrained Language Models☆335Updated 6 months ago
- ☆144Updated 11 months ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆192Updated 3 months ago
- PyTorch library for Active Fine-Tuning☆62Updated last month
- ☆121Updated last year
- The Paper List on Data Contamination for Large Language Models Evaluation.☆91Updated last week
- ☆172Updated last year
- Code and data for "Lost in the Middle: How Language Models Use Long Contexts"☆337Updated last year
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆474Updated last year
- PASTA: Post-hoc Attention Steering for LLMs☆113Updated 4 months ago
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆202Updated 6 months ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆221Updated 5 months ago
- ☆288Updated last year
- [Data + code] ExpertQA : Expert-Curated Questions and Attributed Answers☆126Updated last year
- LongEmbed: Extending Embedding Models for Long Context Retrieval (EMNLP 2024)☆132Updated 5 months ago