openai / tiktoken

tiktoken is a fast BPE tokeniser for use with OpenAI's models.
MIT License
11.76k stars 801 forks source link

from __future__ import annotations to use dict for type annotation #143

Closed youkaichao closed 1 year ago

youkaichao commented 1 year ago

Currently, the _educational.py is used with direct import, and uses dict for type annotation, which requires the from __future__ import annotations statement.