Open bitnom opened 6 months ago
completion_tokens += 1 looks like a bad idea. Do we expect a chunk to always be 1 token? I don't think so.
completion_tokens += 1
No response
tiktoken
Will fill this out more as I get to it.
@kevin666aa fyi
Some fun links to note for potentially upcoming necessities..
https://pypi.org/project/tiktoken/
https://pypi.org/project/tiktoken-async/
https://pypi.org/project/qwen-cpp/
@yiranwu0 could you take a look at this?
Describe the bug
completion_tokens += 1
looks like a bad idea. Do we expect a chunk to always be 1 token? I don't think so.Steps to reproduce
No response
Expected Behavior
tiktoken
Screenshots and logs
No response
Additional Information
Will fill this out more as I get to it.