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

Update _embedding.py RopeEmbeddings #735

Merged
merged 4 commits into from
May 23, 2024

Conversation

Artur-Galstyan
Copy link
Contributor

It seems we forgot to make the theta variable public. This way, if you wanted to implement LLaMa3, you'd have a problem because they use a theta value of 50000.0.

Artur-Galstyan and others added 2 commits May 22, 2024 17:13
It seems we forgot to make the `theta` variable public. This way, if you wanted to implement LLaMa3, you'd have a problem because they use a `theta` value of 50000.0.
Copy link
Owner

@patrick-kidger patrick-kidger left a comment

Choose a reason for hiding this comment

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

Nits aside, LGTM!

equinox/nn/_embedding.py Outdated Show resolved Hide resolved
equinox/nn/_embedding.py Show resolved Hide resolved
@patrick-kidger patrick-kidger merged commit 1f7908b into patrick-kidger:main May 23, 2024
2 checks passed
@patrick-kidger
Copy link
Owner

LGTM! Merged :)

And actually I've just noticed post-merge: could you update the docstring as well please, with the new argument?

@Artur-Galstyan
Copy link
Contributor Author

Sure, you can expect a PR tomorrow 👍

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

Successfully merging this pull request may close these issues.

2 participants