We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe00ad commit c0ba74cCopy full SHA for c0ba74c
README.md
@@ -5,11 +5,11 @@ OpenAI's models.
5
6
```python
7
import tiktoken
8
-enc = tiktoken.get_encoding("cl100k_base")
+enc = tiktoken.get_encoding("o200k_base")
9
assert enc.decode(enc.encode("hello world")) == "hello world"
10
11
# To get the tokeniser corresponding to a specific model in the OpenAI API:
12
-enc = tiktoken.encoding_for_model("gpt-4")
+enc = tiktoken.encoding_for_model("gpt-4o")
13
```
14
15
The open source version of `tiktoken` can be installed from PyPI:
0 commit comments