zkry/tiktoken.el

tiktoken.el is an Emacs Lisp port of OpenAI's tiktoken library for BPE tokenization

36
/ 100
Emerging

This tool helps Emacs users who are building or interacting with Large Language Model (LLM) applications. It takes plain text, like prompts or responses, and converts it into 'tokens'—the fundamental units LLMs process. This allows Emacs users to accurately count tokens, which is crucial for managing costs and understanding LLM input/output limits.

No commits in the last 6 months.

Use this if you are developing LLM applications within Emacs or need to precisely measure the token count of text for OpenAI models.

Not ideal if you are working with LLMs outside of the Emacs environment or do not need to perform BPE tokenization.

Emacs-Lisp-development LLM-application-development token-counting natural-language-processing AI-development
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

13

Forks

5

Language

Emacs Lisp

License

GPL-3.0

Last pushed

Jan 03, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/zkry/tiktoken.el"

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