lenML / llama-tokenizer-playground

@lenml/llama2-tokenizer playground

Home Page:https://lenml.github.io/llama-tokenizer-playground/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️ IMPORTANT UPDATE ⚠️

Our library @lenml/llama2-tokenizer has been deprecated. We are excited to introduce our new library @lenml/tokenizers as its replacement, offering a broader set of features and an enhanced experience.

Why switch to @lenml/tokenizers?

  • Fully Compatible with transformers.js Interfaces: Seamlessly supports all interfaces defined in transformers.js, making migration and integration effortless.
  • Support for a Wide Range of Models: Regardless of which model you need, our new library supports it, ensuring broader coverage.
  • Rich Feature Implementation: Includes a complete implementation of chat templates and normalizers to better serve your text processing and tokenization needs.

check out lenML/tokenizers.

llama-tokenizer-playground

here is demo for llama2-tokenizer.js package

deploy on github pages

TODOs

  • dark theme
  • tokenizer comparer
  • fix react-highlight-within-textarea text style (when paste) issue

About

@lenml/llama2-tokenizer playground

https://lenml.github.io/llama-tokenizer-playground/

License:MIT License


Languages

Language:TypeScript 78.5%Language:CSS 15.6%Language:HTML 5.9%