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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Javascript wrapper for the sentencepiece library
## Browser demo
On Github Pages you can see Sentencepiece used for counting the token using [Meta Llama 3.1 tokenizer model](https://huggingface.co/spaces/Xanthius/llama-token-counter/blob/main/tokenizer.model)https://sctg-development.github.io/sentencepiece-js/ no data is sent to the server.
## Build
Sentencepiece is compiled to webassembly using emscripten.