Development

Run ML in JavaScript

Use Transformers.js pipelines for browser or server-side inference.

Hugging Face · Apache-2.0

What you can do

  • Use Transformers.js pipelines for browser or server-side inference.

Before you start

  • A supported JavaScript runtime, Transformers.js, and access to model files.

Try your first task

After installing, send this example to your AI tool.

Use transformers-js. Build a small browser demo that classifies text and shows loading and error states.

What to look for

A working inference example with model loading and resource cleanup.

Keep in mind

  • WebGPU support, model size, licensing, and browser memory vary.

Open source, traceable origins

Source, license, and package contents have been reviewed. End-to-end tasks have not been verified across agents; examples describe expected results.

Source reviewed:

FAQ

Agent Skills FAQ

Practical answers for choosing, installing, and using your first skill.

How do I install and start using Run ML in JavaScript?

Download the complete ZIP and keep the transformers-js folder and supporting files together. For a project installation, use .claude/skills/transformers-js/ in Claude Code or .agents/skills/transformers-js/ in Codex, with SKILL.md directly inside it. Complete this page's prerequisites, confirm discovery, and start with the example in the first-task card.

What do I need to use Run ML in JavaScript?

A supported JavaScript runtime, Transformers.js, and access to model files.

Can I use these Skills with Chinese requests?

You can ask an agent that supports Chinese to work with Chinese materials and produce Chinese output. Specify the desired language, audience, and terminology in your request. Results depend on the agent and skill, so check the output against your task requirements.

Who created this skill and which license is included?

The original author is Hugging Face, from huggingface/skills, with the Apache-2.0 license included. AILesson preserves the files and source version, and GitHub Releases provides the download. Use the source card to inspect the pinned version and original files.

Have all Skills been tested, and what should I review?

The current collection has source, license, and package-content checks. It does not claim that every skill has completed real tasks in every agent. Review the files and prerequisites before enabling a skill, and check facts, citations, generated code, and proposed actions in its output. The examples describe expected results rather than verified demonstrations.