Skip to content

Commit c0ba74c

Browse files
committed
update README to mention gpt-4o
1 parent bfe00ad commit c0ba74c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ OpenAI's models.
55

66
```python
77
import tiktoken
8-
enc = tiktoken.get_encoding("cl100k_base")
8+
enc = tiktoken.get_encoding("o200k_base")
99
assert enc.decode(enc.encode("hello world")) == "hello world"
1010

1111
# To get the tokeniser corresponding to a specific model in the OpenAI API:
12-
enc = tiktoken.encoding_for_model("gpt-4")
12+
enc = tiktoken.encoding_for_model("gpt-4o")
1313
```
1414

1515
The open source version of `tiktoken` can be installed from PyPI:

0 commit comments

Comments
 (0)