You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run tiktoken-js without using npm, just pure JS.
However, I can't find a working example - the readme contains node instructions.
Could anyone provide code that turns "Hello world" into tokens, for example using jsfiddle? Thanks!
The text was updated successfully, but these errors were encountered:
coding22
changed the title
missing example code for tiktoken-js
missing example code for js-tiktoken
May 9, 2024
I’ve created a project that runs tiktoken-js in pure JS without npm, using Browserify. You can find it here: purejs-ticktoken. It includes an example for tokenizing "Hello world" directly in the browser.
Hi,
I'm trying to run tiktoken-js without using npm, just pure JS.
However, I can't find a working example - the readme contains node instructions.
Could anyone provide code that turns "Hello world" into tokens, for example using jsfiddle? Thanks!
The text was updated successfully, but these errors were encountered: