Views
No views yet
AutoCompressor repository and load the model as follows:from auto_compressor import AutoCompressorModel
model = AutoCompressorModel.from_pretrained("princeton-nlp/AutoCompressor-2.7b-30k")| Context Tokens | 0 | 14,336 | 28,672 |
|---|---|---|---|
| RMT-1.3b-30k | 13.18 | 12.50 | 12.50 |
| AutoCompressor-1.3b-30k | 13.21 | 12.49 | 12.47 |
| AutoCompressor-2.7b-30k | 11.86 | 11.21 | 11.18 |
@misc{chevalier2023adapting,
title={Adapting Language Models to Compress Contexts},
author={Alexis Chevalier and Alexander Wettig and Anirudh Ajith and Danqi Chen},
year={2023},
eprint={2305.14788},
archivePrefix={arXiv},
primaryClass={cs.CL}
}