Fix RoPE comments: smaller k is faster oscillation

#5
by 6S-bobby - opened

Pull Request opened with the huggingface_hub Python library

Title: (Minor/nit) Fix RoPE comments: smaller k is faster oscillation

Large k means large freq, which means small inv_freq, which means small theta, so large k = slow oscillations; the opposite happens for small k. Not particularly important in the grand scheme of things especially when most code always vectorizes this, but may help the readers that are working through the formula on this part.

P.S. love the post/textbook!

6S-bobby changed pull request status to open
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment