-
Disclaimer: I am very new to this domain and trying to grasp concepts and gain understanding. So pardon if my questions are noob-like :) I am trying out the gpt-v1.py (using the wizard_of_oz.txt not the vocab one) following the YouTube video as-is and facing following error:
Any help or guidance would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the error. I missed to add the following line that crops the token generation process to block size when max new tokens are bigger than the block_size: |
Beta Was this translation helpful? Give feedback.
I found the error.
I missed to add the following line that crops the token generation process to block size when max new tokens are bigger than the block_size:
index_cond = index[:, -block_size:]