Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPT-4 Support #12

Open
collinhundley opened this issue May 15, 2023 · 4 comments
Open

GPT-4 Support #12

collinhundley opened this issue May 15, 2023 · 4 comments

Comments

@collinhundley
Copy link

What would it take to support GPT-4 encoding with the cl100k_base vocab? I haven't found any Swift libraries that support this yet.

@aespinilla
Copy link
Owner

Hi! I'm working on it. I have a Tiktoken's port written swift but it's not ready. When i finish it i will publish it under my github's user account.

This threat will be closed when this library get ready.

Thanks for your interesting on my project.

@collinhundley
Copy link
Author

@aespinilla that’s great news! Any estimate on how long it will be until you publish it?

@aespinilla
Copy link
Owner

I have a proof of concept with some errors only on cl100k_base vocab and perform, i think I will be able to have a beta version on next week.

@aespinilla
Copy link
Owner

Hi @collinhundley ! I had published a very basic openai's tiktoken. You can check on this repository: https://github.com/aespinilla/Tiktoken

Yes, it supports gpt-4 and more vocab 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants