Détail du package

@mlc-ai/web-tokenizers

mlc-ai3.1kApache-2.00.1.6
machine_learning, llm, nlp

readme

WebTokenizers

| NPM Package | WebLLM |

WebTokenizers is a javascript binding library that can be universally deployed. It wraps and binds the HuggingFace tokenizers library and sentencepiece and provides a minimum common interface in havascript.

Build from Srouce

source /path/to/emsdk_env.sh
npm install
npm run build

To try out the test webpage

cd tests
npm start