Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mrbishalsaha
· 2y ago · 0 comments
Really good. I am actually using js-tiktokken and wish there was a package to handle all the other LLMs also but still something I can work with.
Comments
[–]
belladoreai
2y ago
If you need to work with multiple LLMs, you probably want to use transformers.js
[–]
mrbishalsaha
OP
2y ago
Isn't it to much for just calculating the number of token?
[–]
belladoreai
2y ago
It's the best option you have if you need to work with multiple LLMs in the browser.