Lightlines
By huggingface

transformers-js

huggingface1.9k installs

Machine learning built into your JavaScript apps.

What it does

Integrate machine learning into JavaScript applications without a separate ML server or Python environment.

When to use it

Use when implementing JavaScript text, vision, audio, or multimodal machine learning, including client-side inference without a backend.

How to use it

It changes how the agent integrates machine learning into JavaScript applications through pipeline usage, model selection, resource cleanup, and implementation practices.

What you provide

  • An existing project

Uses

Latest review

What you need · 3

Requires Node.js 18+, a compatible Bun/Deno runtime, or a modern browser supporting ES modules.

Uses the Transformers.js package, with an npm installation command provided.


Access · 2

This skill

Hugging Face Hub

Read

Reads models and model cards

@huggingface/transformers

Execute

Installs the Transformers.js package