aespinilla/GPT3-Tokenizer
GPT3 encoder & decoder tool written in Swift
This tool helps Swift developers convert human-readable text into numerical tokens and back again, using the same method as OpenAI's GPT-2 and GPT-3 models. It takes a text string as input and outputs a list of integers (tokens), or vice-versa. Swift developers working with AI models will find this useful for preparing text data.
No commits in the last 6 months.
Use this if you are a Swift developer who needs to preprocess text for GPT-2 or GPT-3 models, or interpret their numerical outputs.
Not ideal if you are not a Swift developer or if you need a tokenizer for AI models other than GPT-2/GPT-3.
Stars
32
Forks
4
Language
Swift
License
MIT
Category
Last pushed
Apr 03, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/aespinilla/GPT3-Tokenizer"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
OpenDive/OpenAIKit
Swift Package for OpenAI's API
mbabicz/SwiftAI
iOS app that features a chat powered by ChatGPT and DALL·E 2
MaxiDonkey/DelphiGenAI
The GenAI API wrapper for Delphi seamlessly integrates OpenAI’s latest models (gpt-5 serie),...
Renset/macai
All-in-one native macOS AI chat application for virtually any AI provider
alfianlosari/ChatGPTSwift
Access ChatGPT API using Swift