transformers-js
A Hugging Face skill on using the Transformers.js library to run machine learning models from JavaScript or TypeScript, in the browser or in Node.js, Bun and Deno, with WebGPU or WebAssembly.
What the skill teaches
A Hugging Face skill on using the Transformers.js library to run machine learning models from JavaScript or TypeScript, in the browser or in Node.js, Bun and Deno, with WebGPU or WebAssembly. It covers installing the package, the pipeline API, the supported text, vision, audio and multimodal tasks, finding suitable models on the Hub, configuration such as device and data type, differences between runtimes, error handling, performance, memory management and troubleshooting, with a quick reference of task ids and further reference files. Models download from the Hub unless local copies are used.
Capabilities
- Run Hub models in JavaScript with Transformers.js
- Use pipelines for text, vision and audio tasks
- Configure WebGPU or WASM execution
- Manage model memory in browser and server runtimes
About
- Publisher
- Hugging Face
- Tool
- Hugging Face
Works with
Install
- Run this to add it to Any client:
hf skills add transformers-js
What's inside
- references/CACHE.md
- references/CONFIGURATION.md
- references/EXAMPLES.md
- references/MODEL_ARCHITECTURES.md
- references/MODEL_REGISTRY.md
- references/PIPELINE_OPTIONS.md
- references/TEXT_GENERATION.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Hugging Face | |
| Publisher | Hugging Face | source |
| Official status | OfficialHugging Face Hub docs link to the huggingface/skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex, Gemini CLI | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202611,334 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Hugging Face
1 server · 26 skills
- hf-mcp (Skill)
- hf-cli (Skill)
- hf-mem (Skill)
- huggingface-best (Skill)
- huggingface-community-evals (Skill)
- huggingface-datasets (Skill)
Sources
- README (README.md)github.com/huggingface/skills · Backs: AI clientsNov 13, 2026
- Skill file (SKILL.md)github.com/huggingface/skillsNov 10, 2026
- Licence file (LICENSE)github.com/huggingface/skills · Backs: LicenceNov 13, 2026
- Web pagehuggingface.co · Backs: Official statusNov 13, 2026
- GitHub repositorygithub.com/huggingface/skills · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (transformers-js)github.com/huggingface/skills · Backs: Includes scriptsNov 10, 2026