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

[Question]: How to utilize compression to a finetuned LLM? #172

Open
LiuZhihhxx opened this issue Jul 29, 2024 · 1 comment
Open

[Question]: How to utilize compression to a finetuned LLM? #172

LiuZhihhxx opened this issue Jul 29, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@LiuZhihhxx
Copy link

Describe the issue

I have an LLM finetuned for a down-stream task using input-output pairs data(X_train - Y_train).
Now I plan to utilize llmlingua2 to compress X_test --> X_test_compress and evaluate the performance improvement. Is it necessary to re-fintune the LLM using a X_train_compress ? If so, it seems like to finetune the LLM to fit the compressor maybe?😂

Any advice is appreciated!

@LiuZhihhxx LiuZhihhxx added the question Further information is requested label Jul 29, 2024
@iofu728 iofu728 self-assigned this Jul 30, 2024
@iofu728
Copy link
Contributor

iofu728 commented Jul 30, 2024

Hi @LiuZhihhxx, thanks for your interest in LLMLingua.

Based on your description, you have fine-tuned an LLM for a specific task. I recommend following the instructions at this link to construct the compressed dataset for these data and then fine-tune the LLMLingua-2 compressor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants