openai/tiktoken
Publicmirrored fromhttps://github.com/openai/tiktokenAvailable
CHANGELOG.md
58lines · modecode
| 1 | # Changelog |
| 2 | |
| 3 | This is the changelog for the open source version of tiktoken. |
| 4 | |
| 5 | ## [v0.5.2] |
| 6 | - Build wheels for Python 3.12 |
| 7 | - Update version of PyO3 to allow multiple imports |
| 8 | |
| 9 | ## [v0.5.1] |
| 10 | - Add `encoding_name_for_model`, undo some renames to variables that are implementation details |
| 11 | |
| 12 | ## [v0.5.0] |
| 13 | - Add `tiktoken._educational` submodule to better document how byte pair encoding works |
| 14 | - Ensure `encoding_for_model` knows about several new models |
| 15 | - Add `decode_with_offets` |
| 16 | - Better error for failures with the plugin mechanism |
| 17 | - Make more tests public |
| 18 | - Update versions of dependencies |
| 19 | |
| 20 | ## [v0.4.0] |
| 21 | - Add `decode_batch` and `decode_bytes_batch` |
| 22 | - Improve error messages and handling |
| 23 | |
| 24 | ## [v0.3.3] |
| 25 | - `tiktoken` will now make a best effort attempt to replace surrogate pairs with the corresponding |
| 26 | Unicode character and will replace lone surrogates with the Unicode replacement character. |
| 27 | |
| 28 | ## [v0.3.2] |
| 29 | - Add encoding for GPT-4 |
| 30 | |
| 31 | ## [v0.3.1] |
| 32 | - Build aarch64 wheels |
| 33 | - Make `blobfile` an optional dependency |
| 34 | |
| 35 | Thank you to @messense for the environment variable that makes cargo not OOM under emulation! |
| 36 | |
| 37 | ## [v0.3.0] |
| 38 | - Improve performance by 5-20%; thank you to @nistath! |
| 39 | - Add `gpt-3.5-turbo` models to `encoding_for_model` |
| 40 | - Add prefix matching to `encoding_for_model` to better support future model versions |
| 41 | - Fix a bug in the README instructions on extending tiktoken |
| 42 | - Update the set of available encodings |
| 43 | - Add packaging metadata |
| 44 | |
| 45 | ## [v0.2.0] |
| 46 | - Add ``tiktoken.encoding_for_model`` to get the encoding for a specific model |
| 47 | - Improve portability of caching logic |
| 48 | |
| 49 | Thank you to @fritzo, @arvid220u, @khanhvu207, @henriktorget for various small corrections |
| 50 | |
| 51 | ## [v0.1.2] |
| 52 | - Avoid use of `blobfile` for public files |
| 53 | - Add support for Python 3.8 |
| 54 | - Add py.typed |
| 55 | - Improve the public tests |
| 56 | |
| 57 | ## [v0.1.1] |
| 58 | - Initial release |
| 59 | |