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

Questions about LLM #7

Open
kingkingofall opened this issue Jan 9, 2025 · 1 comment
Open

Questions about LLM #7

kingkingofall opened this issue Jan 9, 2025 · 1 comment

Comments

@kingkingofall
Copy link

I noticed that the maximum length of the dataset used in the paper is 85K, and Llama 3.1 supports 130K. If I want to use Qwen 2.5, which only supports 30K, does that mean I cannot reuse the data?

@hhhuang
Copy link
Owner

hhhuang commented Jan 9, 2025

Thank you for your feedback! While it is possible to adapt the dataset for models with shorter context lengths like Qwen 2.5 by truncating or splitting the reference text, we strongly recommend using an LLM that supports longer contexts. The ability to handle extended inputs is a core requirement for the Cache-Augmented Generation (CAG) approach, as it relies on preloading the entire reference text into the model's context.

To maximize the benefits of CAG and preserve the methodology as designed, we recommend selecting an LLM capable of handling the full context size of your dataset. This ensures that the core properties of CAG, such as efficiency and retrieval-free operation, are fully realized.

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

No branches or pull requests

2 participants