code for EMNLP 2024 paper: How do Large Language Models Learn In-Context? Query and Key Matrices of In-Context Heads are Two Towers for Metric Learning
☆13Nov 17, 2024Updated last year
Alternatives and similar repositories for in-context-mechanism
Users that are interested in in-context-mechanism are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- code for EMNLP 2024 paper: Interpreting Arithmetic Mechanism in Large Language Models through Comparative Neuron Analysis☆12Nov 17, 2024Updated last year
- code for EMNLP 2024 paper: Neuron-Level Knowledge Attribution in Large Language Models☆52Nov 17, 2024Updated last year
- TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP☆10Sep 23, 2021Updated 5 years ago
- Official repository for IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neurons (Ne…☆15Nov 18, 2024Updated last year
- Bayesian scaling laws for in-context learning.☆16Mar 12, 2025Updated last year
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- ☆15Jan 20, 2026Updated 9 months ago
- ☆14Jul 5, 2024Updated 2 years ago
- Implementation-of-VGCN-BERT-for-Rumour-Detection☆10Apr 16, 2023Updated 3 years ago
- Implementation Code of TextHoaxer☆15Aug 21, 2022Updated 4 years ago
- CoT2ToT: Chain-of-Thought to Tree-of-Thoughts CoT2ToT is a Python package that processes and visualizes chain-of-thought (CoT) outputs f…☆13Feb 16, 2025Updated last year
- ☆10Aug 24, 2023Updated 3 years ago
- DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling☆39Jul 12, 2024Updated 2 years ago
- A powerful white-box adversarial attack that exploits knowledge about the geometry of neural networks to find minimal adversarial perturb…☆12Aug 5, 2020Updated 6 years ago
- 基于pytorch的不平衡数据的文本分类☆12Dec 26, 2021Updated 4 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Code for the paper: Linear Control of Test Awareness Reveals Differential Compliance in Reasoning Models☆15Jul 2, 2026Updated 4 months ago
- A collection of human-written and LLM-generated (GPT-4 and BARD) texts across several genres - essays, stories, poetry, and python code. …☆11Aug 24, 2024Updated 2 years ago
- Code and data for the ICSE 2025 paper "HumanEvo: An Evolving-aware Benchmark for More Realistic Evaluation of Repository-level Code Gener…☆13Feb 10, 2025Updated last year
- ☆16Jun 4, 2025Updated last year
- ☆12Nov 25, 2025Updated 11 months ago
- ☆23Nov 24, 2022Updated 3 years ago
- [ACL 2026] Rectifying the Emotional Flow: Aligning Priors and Dynamic Guidance for High-Arousal Text-to-Speech☆17Apr 29, 2026Updated 6 months ago
- Geometric Certifications of Neural Nets☆42Nov 22, 2022Updated 3 years ago
- Code for "Automatic Circuit Finding and Faithfulness"☆19Jul 11, 2024Updated 2 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- This repository contains the codebase for the paper Route to Reason: Adaptive Routing for LLM and Reasoning Strategy Selection☆10Jun 30, 2025Updated last year
- Source code for "Towards Hierarchical Importance Attribution: Explaining Compositional Semantics for Neural Sequence Models", ICLR 2020.☆29Jun 28, 2020Updated 6 years ago
- Complexity vs. Accuracy: On Mechanistic Interpretability's Dependence on the Linear Representation Hypothesis☆14Oct 9, 2025Updated last year
- Multi-Modal Tree of thoughts for DALLE-3 like auto self improvement☆17Nov 11, 2024Updated last year
- ☆12Mar 7, 2024Updated 2 years ago
- ✨✨ Official repo for "Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learning"☆16Nov 8, 2024Updated last year
- ☆15Jul 31, 2024Updated 2 years ago
- ☆14May 23, 2025Updated last year
- Implementation of "From Word Embedding to Reading Embedding Using Large Language Model, EEG and Eye-tracking"☆46Mar 5, 2025Updated last year
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- ☆13Oct 12, 2020Updated 6 years ago
- We introduce a large semi-automatically generated dataset of ~400,000 descriptive sentences about commonsense knowledge that can be true …☆14May 13, 2024Updated 2 years ago
- Control LLM generation format efficiently. A simple version of microsoft/aici in vllm and transformers☆14Jun 7, 2024Updated 2 years ago
- [ICML 2026] Official repository for the paper "The Cylindrical Representation Hypothesis for Language Model Steering"☆14May 28, 2026Updated 5 months ago
- Replication package of the paper "AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language models"…☆10Sep 26, 2022Updated 4 years ago
- [ACL 2024] "Understanding and Patching Compositional Reasoning in LLMs"☆14Aug 8, 2026Updated 2 months ago
- The Internet Memes Knowledge Graph☆18Oct 18, 2024Updated 2 years ago