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

Implementation of RAG #115

Open
abizard opened this issue Nov 18, 2024 · 1 comment
Open

Implementation of RAG #115

abizard opened this issue Nov 18, 2024 · 1 comment

Comments

@abizard
Copy link

abizard commented Nov 18, 2024

Hi, can developments like RAG be implemented in this Lag-Llama model?

@abizard abizard changed the title Calculating CRPS on AutoArima Baseline Implementation of RAG Dec 7, 2024
@kashif
Copy link
Contributor

kashif commented Dec 24, 2024

in theory the very last state vector before being fed to the prediction head can be used as a representation of the past, although this vector has been trained for the next time-step prediction task rather than a representation of the context time series... thus for RAG type applications one would need to train the pre-trained lag-llama with an appropriate loss (not the next time step prediction task) using perhaps contrastive learning... hope that helps!

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