A chat template to tokenizer playground that supports 4k+ models like DeepSeek, Qwen, Perplexity AI, etc.
npm install
npm run devThis project can run as two containers:
model-fetcher: syncs models from Hugging Face and serves model files over HTTP.web: Next.js UI that fetches models/metadata/tokenizers through API calls tomodel-fetcher.
docker compose up --buildThen open http://localhost:3000.
HF_API_KEYorHF_TOKEN: token used by the fetcher when syncing private/rate-limited models.SYNC_INTERVAL_MIN: fetch interval in minutes (default5).NEXT_PUBLIC_ENABLE_MODEL_FETCHER: set tofalseto disable all fetcher-backed/api/*calls in the UI and Next rewrites.
Xenova/transformers npm library is a JavaScript library that allows you to run Hugging Face Transformers models directly in the browser or in Node.js using WebAssembly, without requiring Python. It supports tasks like tokenization, text classification, question answering, and more. All client-side and serverless.
© Vr3ll4