Description
Transformers.js is an agent skill that helps a coding assistant run Hugging Face machine learning models directly in JavaScript, in both Node.js and the browser. The underlying library supports text, image, audio and multimodal tasks using models converted to ONNX, so no backend server or Python runtime is needed. The skill points to uses such as transcribing audio in a browser tab without sending it to a server, classifying images inside a Node.js API, generating sentence embeddings for client-side semantic search, detecting named entities in form input before the data leaves the browser, and translating text in a command-line tool. Because the same Hugging Face models used in Python pipelines run in JavaScript, the library installs with a single npm install. The skill is published in the official Hugging Face skills repository on GitHub.…
Highlights
- Runs Hugging Face models in Node.js and browsers
- Text, image, audio and multimodal tasks
- ONNX models with no Python runtime
- Install with a single npm command
Ratings & Reviews
No ratings yet
Be the first to rate huggingface/transformers.js.
People also visit
huggingface/transformers.js FAQ
What is Transformers.js?
A JavaScript library that runs Hugging Face models for text, image, audio and multimodal tasks, in Node.js or in a web browser.
Does it need a backend server?
No. The models run inside the JavaScript environment, so no separate ML server or Python runtime is required.
How do I install the skill?
Run npx skills add https://github.com/huggingface/skills --skill transformers.js, or paste the GitHub link into your coding assistant.
What are the best huggingface/transformers.js alternatives?
Popular alternatives to huggingface/transformers.js include transformers-js, transformers and huggingface-local-models. See all huggingface/transformers.js alternatives





