Skip to content
T

Transformers.js

State-of-the-art Machine Learning for the web

by huggingfaceFree

#266in AI
0In stores

Description

Transformers.js is a JavaScript library that runs Hugging Face Transformers models directly in the browser, with no server needed. It is des…

Highlights

  • Runs Hugging Face Transformers models in the browser
  • Similar API to the Python transformers library
  • Natural language tasks such as classification and summarization
  • No server needed for inference
  • Quick tour, custom usage and settings docs

Ratings & Reviews

No ratings yet

Be the first to rate Transformers.js.

People also visit

T

transformers-js

Use Transformers.js

AI Skills
Get
H

Huggingface.js

Use Hugging Face with JavaScript

Developer Tools
Launch
H

huggingface/transformers.js

Run ML models in the browser with Transformers.js

AI Skills
Get
T

transformers

Hugging Face Transformers for loading Hub models, running pipeline inference

AI Skills
Get
W

Web LLM

High-performance In-browser LLM Inference Engine

AI
Launch
R

Rust Bert

Rust native ready-to-use NLP pipelines and transformer-based models

AI
Launch

Transformers.js FAQ

What is Transformers.js?

A JavaScript library for running Hugging Face Transformers models in the browser.

Does it need a server?

No. The README says you can run the models directly in the browser with no server.

How close is it to the Python library?

The README says it is designed to be functionally equivalent, with a very similar API, so the same pretrained models can be used.

What tasks does it support?

Natural language processing tasks such as text classification, named entity recognition, question answering, summarization and translation, along with other modalities.

Where do I start?

The README has installation and a quick tour, then custom usage and settings.

What are the best Transformers.js alternatives?

Popular alternatives to Transformers.js include Web LLM, Rust Bert and AgentOp. See all Transformers.js alternatives

Developer Stuff

Badges