transformers.js and transformers-js

The first is the official Hugging Face implementation that dominates the ecosystem, while the second is an independent third-party alternative attempting to solve the same problem of browser-based transformer inference—making them direct competitors.

transformers.js
65
Established
transformers-js
39
Emerging
Maintenance 20/25
Adoption 10/25
Maturity 16/25
Community 19/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 13/25
Stars: 15,538
Forks: 1,104
Downloads:
Commits (30d): 29
Language: JavaScript
License: Apache-2.0
Stars: 233
Forks: 17
Downloads:
Commits (30d): 0
Language: JavaScript
License: MIT
No Package No Dependents
Stale 6m No Package No Dependents

About transformers.js

huggingface/transformers.js

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

This project helps web developers integrate advanced AI capabilities directly into web applications, allowing for tasks like text analysis, image recognition, and speech processing to run in the user's browser without needing a server. It takes various forms of data, such as text, images, or audio, and processes them using pre-trained AI models to produce insights or generated content. Web developers, front-end engineers, and anyone building interactive web experiences with AI features would use this.

web-development client-side-AI natural-language-processing computer-vision speech-recognition

About transformers-js

praeclarum/transformers-js

Browser-compatible JS library for running language models

This is a JavaScript library for web developers who want to integrate natural language processing (NLP) directly into their web applications. It allows you to run powerful language models, like those for translation, entirely within the user's browser, without needing a backend server. This means your web app can take text input and perform tasks like language translation, generating text, or answering questions, all client-side.

web-development client-side-AI NLP-in-browser language-translation interactive-web-apps

Scores updated daily from GitHub, PyPI, and npm data. How scores work