Skip to content

inv_freq or freq in RoPE implementation? (Ch05-07 GPT to Llama) #477

Answered by rasbt
EricTay1997 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the great discussion here. I think the reason why "inverse" frequency is a popular term is simply because of the fact that it decreases inversely with the index.

Sure, it's also a "frequency" as a general term, but the "inverse" kind of describes the relationship with i.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@EricTay1997
Comment options

@d-kleine
Comment options

@rasbt
Comment options

Answer selected by EricTay1997
@EricTay1997
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants