← All projects
Project record1 mention
Originally shared on Hacker News

TokenDagger

A high-performance implementation of OpenAI's Tiktoken tokenizer, benchmarked at 2-3x higher throughput and roughly 4x faster tokenization for code samples on a single thread.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. TokenDagger

    A high-performance implementation of OpenAI's Tiktoken tokenizer, benchmarked at 2-3x higher throughput and roughly 4x faster tokenization for code samples on a single thread.

    Posted by @matthewolfe · Original source ↗

    Source text · @matthewolfe · · Source ↗

    I'm working on TokenDagger [0] a high performance implementation of OpenAI's Tiktoken. My benchmarks are showing 2-3x higher throughput, as well as ~4x faster tokenization for code samples on a single thread.