Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
luke_cq
· 3y ago · 0 comments
I desperately want to be able to get a concrete amount of tokens for my prompt before making a call - things like this make it very hard to request the right amount of max_tokens from longer prompt/generation pairs.
Comments
[–]
sharkjacobs
3y ago
https://github.com/openai/tiktoken