princeton-nlp / AutoCompressor-1.3b-30k

huggingface.co
Total runs: 75
24-hour runs: 2
7-day runs: 21
30-day runs: 20
Model's Last Updated: October 27 2023

Introduction of AutoCompressor-1.3b-30k

Model Details of AutoCompressor-1.3b-30k

license: apache-2.0

Paper : Adapting Language Models to Compress Contexts

Code : https://github.com/princeton-nlp/AutoCompressors

Models :


AutoCompressor-1.3b-30k is a model fine-tuned from facebook/opt-1.3b following the AutoCompressor method in Adapting Language Models to Compress Contexts . This model is fine-tuned on 2B tokens from Books3 in The Pile . The pre-trained OPT-1.3b model is fine-tuned on sequences of 30,720 tokens with 50 summary vectors, summary accumulation, randomized segmenting, and stop-gradients.

To get started, download the AutoCompressor repository and load the model as follows:

from auto_compressor import AutoCompressorModel

model = AutoCompressorModel.from_pretrained("princeton-nlp/AutoCompressor-1.3b-30k")

Evaluation

We record the perplexity achieved by our 30k-fine-tuned OPT models on segments of 2,048 tokens sampled from Books3 and ArXiv in The Pile, conditioned on different amounts of context.

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
Bibtex
@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}
}

Runs of princeton-nlp AutoCompressor-1.3b-30k on huggingface.co

75
Total runs
2
24-hour runs
26
3-day runs
21
7-day runs
20
30-day runs

More Information About AutoCompressor-1.3b-30k huggingface.co Model

More AutoCompressor-1.3b-30k license Visit here:

https://choosealicense.com/licenses/apache-2.0

AutoCompressor-1.3b-30k huggingface.co

AutoCompressor-1.3b-30k huggingface.co is an AI model on huggingface.co that provides AutoCompressor-1.3b-30k's model effect (), which can be used instantly with this princeton-nlp AutoCompressor-1.3b-30k model. huggingface.co supports a free trial of the AutoCompressor-1.3b-30k model, and also provides paid use of the AutoCompressor-1.3b-30k. Support call AutoCompressor-1.3b-30k model through api, including Node.js, Python, http.

AutoCompressor-1.3b-30k huggingface.co Url

https://huggingface.co/princeton-nlp/AutoCompressor-1.3b-30k

princeton-nlp AutoCompressor-1.3b-30k online free

AutoCompressor-1.3b-30k huggingface.co is an online trial and call api platform, which integrates AutoCompressor-1.3b-30k's modeling effects, including api services, and provides a free online trial of AutoCompressor-1.3b-30k, you can try AutoCompressor-1.3b-30k online for free by clicking the link below.

princeton-nlp AutoCompressor-1.3b-30k online free url in huggingface.co:

https://huggingface.co/princeton-nlp/AutoCompressor-1.3b-30k

AutoCompressor-1.3b-30k install

AutoCompressor-1.3b-30k is an open source model from GitHub that offers a free installation service, and any user can find AutoCompressor-1.3b-30k on GitHub to install. At the same time, huggingface.co provides the effect of AutoCompressor-1.3b-30k install, users can directly use AutoCompressor-1.3b-30k installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AutoCompressor-1.3b-30k install url in huggingface.co:

https://huggingface.co/princeton-nlp/AutoCompressor-1.3b-30k

Url of AutoCompressor-1.3b-30k

AutoCompressor-1.3b-30k huggingface.co Url

Provider of AutoCompressor-1.3b-30k huggingface.co

princeton-nlp
ORGANIZATIONS

Other API from princeton-nlp