CivArchive
    ← All articles
    Published December 6, 2023by rockerBOO

    Stable Diffusion Tokenizer in the browser

    758 views10 reactions3 comments on CivitAI9 collected
    rusttokenizerweb-apptool guidewasm

    See the tokens used in your prompt. Useful for seeing which tokens are used for trigger words in training. Or just general knowledge about what the tokenizer is doing to break down your words into tokens.

    https://sd-tokenizer.rocker.boo/

    And open source: https://github.com/rockerBOO/sd-tokenizer
    Uses Hugging Face Tokenizer in the browser using Rust and WASM. So it is done all locally in your browser and no servers involved. All private and no tracking.

    Open to feedback or if you have any questions. Thank you!