microsoft / microsoft/LLMLingua
Some questions about parameters?
@iofu728 is already working on this.
Since Jan 12, 2024.
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 428
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 1
Description
What a GOOD work for PROMPT COMPRESSION! BUT I have some question about parameters in code or paper.
1.What is the granular control coefficient parameter 'k' from the LLMLingua paper in this code? I didn't find this parameter from LLMLingua paper in this code, I guess 'context_budget' (default is '+100') and this parameter have the same meaning. Is it true?
2.By the way, I didn't find the pre-defined compression rates for instruction and question from the LLMLingua paper in this code, too.
3.In this code, 'token_budget_ratio' is a parameter for 'Budget ratio for sentence-level Prompt Compression' (default is 1.4). But I do not find this parameter in the LLMLingua paper —— 1.4 or token_budget_ratio.
Thank YOU!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.