LLMLingua icon indicating copy to clipboard operation
LLMLingua copied to clipboard

[Question]: Is It Possible to Share the Code how to Do the evaluation

Open ZhichaoWang970201 opened this issue 1 year ago • 3 comments

Describe the issue

I am wondering if you can share the evaluation code for "LongLLMLingua mitigates the 'lost in the middle' issue in LLMs, enhancing long-context information processing."

ZhichaoWang970201 avatar Jul 10 '24 00:07 ZhichaoWang970201

Hi @zhichaoWang970201, thanks for your support.

You can follow the instructions in longchat-13b-16k to run the NaturalQA benchmark.

iofu728 avatar Jul 15 '24 02:07 iofu728

Screenshot 2024-07-19 at 8 28 18 PM Thank you for your sharing.

In addition, the data used for generating answer is already very short. Is this what the author used for prompt compressing? If not, will the author add prompt to ask LLM to copy exact text from the input prompt? The evaluation file asks for exactly matching.

Thank you.

ZhichaoWang970201 avatar Jul 20 '24 03:07 ZhichaoWang970201

The problem is solved when reading more of the lost in the middle paper.

ZhichaoWang970201 avatar Jul 20 '24 23:07 ZhichaoWang970201