Unofficial bindings / ports in other languages
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
The following projects are not maintained by OpenAI. I cannot vouch that any of them are correct or safe to use. Use at your own risk.
Note that if a tokeniser fails to exactly match tiktoken's behaviour, you may get worse results when sampling from models, with no warning.
Javascript
- https://github.com/dqbd/tiktoken
- https://github.com/ceifa/tiktoken-node
- https://github.com/niieani/gpt-tokenizer
- The gpt-3-encoder package will work for most GPT-3 models. However, it will often appear to work for Codex or GPT-3.5 while actually being out of distribution, and will not at all work for GPT-4 or embeddings models.
Rust
Java
Ruby
C#
Go
PHP
Kotlin
Thanks to everyone for building useful things!
I'm happy to link to other projects in this comment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the issue body and its listed external projects, checking that each link is relevant and that the tokeniser compatibility warnings remain accurate. Done means the unofficial bindings list is complete and clearly labeled as unmaintained by OpenAI; no repository file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, go, java, javascript, kotlin, php, ruby, rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100