writer / writing-in-the-margins

99 stars 8 forks source link

Typo on Model Encoding #3

Open ColeMurray opened 3 weeks ago

ColeMurray commented 3 weeks ago

There is a typo in gpt-4-turbo here. This appears like it will still work due to the prefixing in tiktoken

https://github.com/openai/tiktoken/blob/main/tiktoken/model.py#L10 https://github.com/writer/writing-in-the-margins/blob/ba79a5ce7c904305f423bbf3207a7924c35eef7e/run.py#L41C25-L41C44