Transformers.js documentation

transformers

You are viewing main version, which requires installation from source. If you'd like regular npm install, checkout the latest stable version (v3.0.0).
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

transformers

Entry point for the Transformers.js library. Only the exports from this file are available to the end user, and are grouped as follows:

  1. Pipelines
  2. Environment variables
  3. Models
  4. Tokenizers
  5. Processors

< > Update on GitHub