rtiktoken
From MaRDI portal
Rtiktoken
Description
A thin wrapper around the tiktoken-rs crate, allowing to encode text into Byte-Pair-Encoding (BPE) tokens and decode tokens back to text. This is useful to understand how Large Language Models (LLMs) perceive text.
This page was built for software: rtiktoken