I'm using js-tiktoken and haven't been able to upgrade since version 1.0.7. It turns out that there are no ranks files in the latest version of js-tiktoken.
Is the removal of the ranks files intentional? Or is there some configuration error in js-tiktoken?
This is how I've been using js-tiktoken:
import { Tiktoken } from "js-tiktoken/lite";
import cl100k_base from "js-tiktoken/ranks/cl100k_base";
const encoder = new Tiktoken(cl100k_base)
I'm using
js-tiktoken
and haven't been able to upgrade since version 1.0.7. It turns out that there are no ranks files in the latest version of js-tiktoken.Is the removal of the ranks files intentional? Or is there some configuration error in js-tiktoken?
This is how I've been using js-tiktoken:
A
tree
listing from js-tiktoken@1.0.12A
tree
listing from js-tiktoken@1.0.7