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

Set RotaryEmbedding base frequency from config #7734

Merged
merged 4 commits into from
Oct 17, 2023
Merged

Conversation

shan18
Copy link
Member

@shan18 shan18 commented Oct 16, 2023

What does this PR do?

Add the ability to change the base value of RoPE embeddings from config.

Collection: nlp

Copy link
Collaborator

@hsiehjackson hsiehjackson left a comment

Choose a reason for hiding this comment

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

Overall, looks good to me! Leave a minor comment.

Signed-off-by: Shantanu Acharya <[email protected]>
Copy link
Collaborator

@titu1994 titu1994 left a comment

Choose a reason for hiding this comment

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

Thanks !

@titu1994 titu1994 merged commit 9610045 into main Oct 17, 2023
9 of 13 checks passed
@titu1994 titu1994 deleted the rope-base-change branch October 17, 2023 01:54
burchim pushed a commit to burchim/NeMo that referenced this pull request Oct 28, 2023
* set rope base frequency from model config

Signed-off-by: Shantanu Acharya <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename base to rotary_base

Signed-off-by: Shantanu Acharya <[email protected]>

---------

Signed-off-by: Shantanu Acharya <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: maxime burchi <[email protected]>
pzelasko pushed a commit to pzelasko/NeMo that referenced this pull request Jan 3, 2024
* set rope base frequency from model config

Signed-off-by: Shantanu Acharya <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename base to rotary_base

Signed-off-by: Shantanu Acharya <[email protected]>

---------

Signed-off-by: Shantanu Acharya <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Piotr Żelasko <[email protected]>
rohitrango pushed a commit to rohitrango/NeMo that referenced this pull request Jun 25, 2024
* set rope base frequency from model config

Signed-off-by: Shantanu Acharya <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename base to rotary_base

Signed-off-by: Shantanu Acharya <[email protected]>

---------

Signed-off-by: Shantanu Acharya <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants