Transformers.js documentation

transformers

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