Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hnhg
· 3y ago · 0 comments
Yes. You can break the document up and index each part and then tackle it that way. It works surprisingly well. The 4096 token limit is tied to the attention window, not an API restriction.
Comments
[–]
jerpint
3y ago
Attention doesn’t have a window, unless you mean there’s a limit to the number of absolute positional embeddings available at train time?
[–]
freezed88
3y ago
LlamaIndex offers ways to chunk up your data and store them in data structures for response synthesis:
https://gpt-index.readthedocs.io/en/latest/guides/primer.htm...