transformers-js-v2 - Run Transformers.js Models in JavaScript
Run Hugging Face machine learning models for text, images, audio, and multimodal tasks in JavaScript or TypeScript using Transformers.js.
Tags
Updated: 2026-11-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Run Hugging Face models
- Analyze and generate text
- Translate text
- Classify images
- Detect objects
- Segment images
- Recognize speech
- Process audio
- Build multimodal applications
- Run models in browsers
- Select models and devices
- Configure model quantization
- Dispose pipelines
Inputs
- User task
- Model identifier
- Text, image, or audio data
- JavaScript or TypeScript project
- Device and quantization settings
- Copied workflow files
- Provenance files
Outputs
- Model inference results
- Generated text or translations
- Image classification results
- Object detection results
- Image segmentation results
- Speech recognition results
- JavaScript or TypeScript code
- Provenance-grounded review notes
Requirements
- Node.js or browser runtime
- JavaScript or TypeScript support
- @huggingface/transformers package or CDN
- Transformers.js-compatible models
