microsoft / microsoft/LLMLingua
[Question]: Reproduce LLMLingua-2 on the LongBench SingleDoc dataset
@pzs19 is already working on this.
Since May 10, 2024.
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 428
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 1
Description
Describe the issue
We referred to your code https://github.com/microsoft/LLMLingua/blob/main/experiments/llmlingua2/evaluation/compress.py, https://github.com/microsoft/LLMLingua/blob/main/experiments/llmlingua2/evaluation/eval_longbench.py
target token: 2000
compresse model: llmlingua-2-bert-base-multilingual-cased-meetingbank
llm model: Mistral-7B-Instruct-v0.1 (from https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1/tree/main)
LongBench singledoc tasks: qasper, multifieldqa_en, narrativeqa
Hardware platform: 1 Nvidia A100-80GB
The result is different from the conclusions in the paper (Table 4, LLMLingua-2-small, LongBench-SingleDoc , 2000-token cons.)
The compressed prompt evaluation score is:
{'qasper': 32.27, 'multifieldqa_en': 33.04, 'narrativeqa': 8.84}
average score 24.7 (25.3 in paper)
The uncompressed prompt evaluation score is:
{"multifieldqa_en": 37.07, "qasper": 33.83, "narrativeqa": 19.89}
30.3 (24.5 in paper)
What's the experiment settings in the paper and what makes the difference in the evaluation result. Thank you for your reply
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.