botisan-ai/gpt3-tokenizer

Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.

39
/ 100
Emerging

When working with OpenAI's GPT-3 or Codex models, you often need to understand how text is broken down into 'tokens' or convert tokens back into readable text. This tool takes your text and shows you how the AI model sees it (as tokens) or takes a list of tokens and reconstructs the original text. It's for developers building applications that integrate directly with OpenAI's GPT-3 or Codex APIs.

172 stars. No commits in the last 6 months.

Use this if you are a developer building a JavaScript or TypeScript application that needs to accurately count tokens or convert between text and tokens for OpenAI's GPT-3 or Codex models.

Not ideal if you are an end-user of a GPT-3 application and simply want to understand or optimize your prompts without coding.

AI-application-development Natural-Language-Processing-tools OpenAI-API-integration text-processing language-model-development
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

172

Forks

16

Language

TypeScript

License

MIT

Last pushed

Jan 27, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/botisan-ai/gpt3-tokenizer"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.