4 ms·
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 am
by luke_cq 3y ago
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.
- deleted 3y ago[deleted]
- sharkjacobs 3y agohttps://github.com/openai/tiktoken https://github.com/openai/tiktoken