| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
We introduce APE for context-augmented generation with better efficiency and performance.
conda create -yn ape python=3.10
conda activate ape
pip install -r requirements.txt
python setup.py installBy default, the temperature and scaling factor are set to 0.9, preserving over 90% performance on few-shot tasks.
CUDA_VISIBLE_DEVICES=0 python demo_APE.py --model llama3-8b-instructTo reproduce the APE results for retrieval-augmented generation (RAG) and in-context learning (ICL) tasks in Section 5, please follow the instructions and use the code provided in the experiments directory.
We will release the code and data in the following order, please stay tuned!
If you find APE useful or relevant to your project and research, please kindly cite our paper:
@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}
}| Back | FazBrowse Home | New Git URL |