Releases: aallam/ktoken
Releases · aallam/ktoken
0.4.0
0.3.0
Focused on internal refactoring and API stabilization to enhance usability and facilitate future development.
Breaking Changes
- Rename
Enconding
toEncodingConfig
. - Rework encodings to enhance extensibility:
- Add a new
Encoding
interface. - Introduce default implementations of
Encoding
:CL100KBase
,P50KBase
,R50KBase
, andP50KEdit
.
- Add a new
- Rename
Tokenizer.encoding
andTokenizer.encodingForModel
toTokenizer.of
with overrides.