Tiktoken-rs: Batteries-included Rust library for working with GPT-4's tokenizer

by zurawikion 3/18/2023, 4:22 AMwith 1 comments

by zurawikion 3/18/2023, 4:22 AM

In case others find this useful. Just updated for GPT-4, tiktoken-rs is a Rust crate you can use to tokenize text sent to and from OpenAI's LLM models