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

[Feature] Add Landmark attention #109

Closed
NanoCode012 opened this issue May 30, 2023 · 1 comment · Fixed by #169
Closed

[Feature] Add Landmark attention #109

NanoCode012 opened this issue May 30, 2023 · 1 comment · Fixed by #169
Labels
enhancement New feature or request

Comments

@NanoCode012
Copy link
Collaborator

Per request from Discord to add this feature.

They seem to monkeypatch LlamaModel and add special mem token.

Ref: https://github.com/epfml/landmark-attention/blob/main/llama/train.py

@NanoCode012 NanoCode012 added the enhancement New feature or request label May 30, 2023
@winglian
Copy link
Collaborator

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

Successfully merging a pull request may close this issue.

2 participants