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 2 years ago
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 2 years ago
- code for EMNLP 2024 paper: Neuron-Level Knowledge Attribution in Large Language Models☆52Nov 17, 2024Updated 2 years ago
- Official repository for IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neurons (Ne…☆15Nov 18, 2024Updated 2 years ago
- Bayesian scaling laws for in-context learning.☆16Mar 12, 2025Updated last year
- TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP☆10Sep 23, 2021Updated 5 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- ☆15Jan 20, 2026Updated 10 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 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
- ☆13Nov 25, 2025Updated last year
- ☆23Nov 24, 2022Updated 4 years ago
- Geometric Certifications of Neural Nets☆42Nov 22, 2022Updated 4 years ago
- Code for "Automatic Circuit Finding and Faithfulness"☆19Jul 11, 2024Updated 2 years ago
- This repository contains the codebase for the paper Route to Reason: Adaptive Routing for LLM and Reasoning Strategy Selection☆11Jun 30, 2025Updated last year
- 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 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.
- ☆12Mar 7, 2024Updated 2 years 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
- Submit your results on SWE-bench-Live☆14Nov 16, 2026Updated last week
- Source code for "Towards Hierarchical Importance Attribution: Explaining Compositional Semantics for Neural Sequence Models", ICLR 2020.☆29Jun 28, 2020Updated 6 years ago
- ☆15Jul 31, 2024Updated 2 years ago
- ☆14May 23, 2025Updated last year
- [ACL 2026] Rectifying the Emotional Flow: Aligning Priors and Dynamic Guidance for High-Arousal Text-to-Speech☆18Apr 29, 2026Updated 6 months ago
- Implementation of "From Word Embedding to Reading Embedding Using Large Language Model, EEG and Eye-tracking"☆45Mar 5, 2025Updated last year
- ☆13Oct 12, 2020Updated 6 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- [ICLR 2026] Uni-X: Mitigating Modality Conflict with a Two-End-Separated Architecture for Unified Multimodal Models☆10Apr 1, 2026Updated 7 months ago
- ✨✨ Official repo for "Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learning"☆16Nov 8, 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
- 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 3 months ago
- The Internet Memes Knowledge Graph☆18Oct 18, 2024Updated 2 years ago
- Text classifier, based on the BERT and a Bayesian neural network, which can train on small labeled texts and doubt its decision.☆14Mar 24, 2023Updated 3 years ago
Are these results useful?