bennyschmidt/next-token-prediction
Next-token prediction in JavaScript — build fast language and diffusion models.
This project helps JavaScript developers integrate text prediction capabilities into their applications. You provide it with text files or a pre-built dataset, and it generates a language model capable of predicting the next word, completing phrases, or suggesting sequences of words. It's designed for developers building features like autocomplete, autocorrect, or basic search for their users.
143 stars. No commits in the last 6 months.
Use this if you are a JavaScript developer looking to quickly add text prediction, auto-completion, or phrase completion to your application without needing external API calls.
Not ideal if you need a sophisticated, large-scale language model for complex tasks like summarization, creative writing, or highly nuanced content generation, as it is primarily focused on token prediction and basic completion.
Stars
143
Forks
6
Language
JavaScript
License
—
Category
Last pushed
Sep 18, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/bennyschmidt/next-token-prediction"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lfnovo/esperanto
A unified interface for various AI model providers
apocas/restai
RESTai is an AIaaS (AI as a Service) open-source platform. Built on top of LlamaIndex &...
baidubce/bce-qianfan-sdk
Provide best practices for LMOps, as well as elegant and convenient access to the features of...
sbhjt-gr/InferrLM
On-device AI for iOS & Android
ProviderProtocol/ai
0-DEP AI DX SDK