-
Notifications
You must be signed in to change notification settings - Fork 1k
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
More than 4096 context length? #22
Comments
Sure; You just need to fine-tune to a longer context :) |
@jon-tow You are joking right? |
So no, nothing can be done user-side to change attention span. (But maybe you can summarize blocks of text with the model so you can then feed the already summarized text as a whole to do your thing) |
Pretty sure the answer is no due to how positional encoding is done. |
@mallorbc The model uses RoPE - a relative attention mechanism. See https://blog.eleuther.ai/rotary-embeddings/ |
@jon-tow So models like GPTJ can be finetuned and generate more than their sequence length? Whenever I try to generate sequences for GPTJ I have issues. Maybe that is something else unrelated. |
A lora will not work for this? Would you have to retrain the model from scratch on long context as you have done? |
Is it possible to have larger context as this allows to do more complicated things with smaller models?
A lot of the negatives of a smaller model can be rectified by pushing more data into the context. For example: Help pages, datasheets, examples, thinking rules, longer conversations trying to fix an issue, etc.
Please excuse me if this is the wrong place to ask this question, but very rarely the context is discussed. Thanks in advance.
The text was updated successfully, but these errors were encountered: