Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: correct default value of 'use_llmlingua2' #142

Merged
merged 1 commit into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llmlingua/prompt_compressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class PromptCompressor:
use_llmlingua2 (bool, optional): Whether to use llmlingua-2 compressor based on the paper
"LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression".
Zhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Menglin Xia, Xufang Luo, Jue Zhang, Qingwei Lin, Victor Ruhle, Yuqing Yang, Chin-Yew Lin, H. Vicky Zhao, Lili Qiu, Dongmei Zhang.
arXiv preprint arXiv:2403.2403.12968 (2024), Default is True.
arXiv preprint arXiv:2403.2403.12968 (2024), Default is False.
llmlingua2_config (dict, optional): A dictionary containing the configuration parameters for llmlingua-2. Default is
{
"max_batch_size": 50,
Expand Down
Loading