Skip to content

Infini-AI-Lab/APE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APE: Faster and Longer Context-Augmented Generation via Adaptive Parallel Encoding

Installation

Install APE attention

python setup.py install

Install experiment dependencies

pip install -r requirements.txt

Demo

Here, we demonstrate a basic demo of APE in demo_APE.py

Experiments

To reproduce APE results on the retrieval-augmented generation (RAG) and in-context-learning (ICL) tasks, refer to the instruction and code available in the experiments directory.

Citation

@inproceedings{yang2025ape,
  title={APE: Faster and Longer Context-Augmented Generation via Adaptive Parallel Encoding},
  author={Yang, Xinyu and Chen, Tianqi and Chen, Beidi},
  booktitle={ICLR 2025},
  year={2025}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages