GitHub - terarachang/LLMDecomp: LLM decomposition; few-shot learning (EMNLP 2024) (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Repository files navigation

When Parts Are Greater Than Sums: Individual LLM Components Can Outperform Full Models (EMNLP 2024)

Ting-Yun Chang, Jesse Thomason, and Robin Jia

Paper: https://arxiv.org/abs/2406.13131 Blog: https://terarachang.github.io/projects/llm-decomp.html

Methods

Quick Start

export HF_TOKEN="YOUR TOKEN"
pip install -r requirements.txt

Component Reweighting

$ bash scripts/comp_rw.sh

Standard ICL

$ bash scripts/standard.sh

Calib+

$ bash scripts/calibration.sh

Adding New Models