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

Implement H2O for long context inference on summarization tasks #411

Merged
merged 115 commits into from
Jun 18, 2024

Conversation

Kyriection
Copy link
Contributor

This is add the implementation of H2O algorithm for efficient long context inference of Llama models.
Current implementations are based on the Huggingface transformers and tests on summarization tasks, including XSUM and CNN-DailyMail

@HamidShojanazeri HamidShojanazeri self-requested a review March 25, 2024 20:17
Copy link
Contributor

@HamidShojanazeri HamidShojanazeri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @Kyriection for the PR!! just added some quick initial thoughts on the PR. will go deeper on the second round.

research/long-context-llama/H2O/README.md Outdated Show resolved Hide resolved
research/long-context-llama/H2O/README.md Outdated Show resolved Hide resolved
recipes/experimental/long-context/H2O/README.md Outdated Show resolved Hide resolved
recipes/experimental/long-context/H2O/README.md Outdated Show resolved Hide resolved
recipes/experimental/long-context/H2O/README.md Outdated Show resolved Hide resolved
recipes/experimental/long-context/H2O/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@HamidShojanazeri HamidShojanazeri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some inline comments

recipes/experimental/long-context/H2O/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@HamidShojanazeri HamidShojanazeri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much @Kyriection for the PR! looking forward to our collabs in next phases.

@HamidShojanazeri HamidShojanazeri merged commit 4e1466c into meta-llama:main Jun 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants