alfianlosari/GPTEncoder

Swift BPE Encoder/Decoder for OpenAI GPT Models. A programmatic interface for tokenizing text for OpenAI ChatGPT API.

44
/ 100
Emerging

This is a tool for developers who are building applications that interact with OpenAI's GPT models. It helps you convert human-readable text into 'tokens' (numerical representations) that the models understand, and vice-versa. This is essential for managing the input and output for GPT API calls and understanding how your text is processed.

No commits in the last 6 months.

Use this if you are a Swift developer building an application for iOS, macOS, watchOS, tvOS, or Linux that needs to pre-process text for OpenAI GPT models or interpret their tokenized output.

Not ideal if you are an end-user looking for a ready-to-use application to tokenize text, or if you are working with a programming language other than Swift.

Swift-development OpenAI-API-integration NLP-preprocessing mobile-app-development backend-development
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

87

Forks

20

Language

Swift

License

MIT

Last pushed

Apr 01, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/alfianlosari/GPTEncoder"

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