Transformers.js
lastmod 2023-03-22created 2023-03-221 edits
Run Transformers in the browser
Features
- Features such as text-to-text generation, translation, summarization, automatic speech recognition, image classification, and image-to-text can be implemented directly in the browser
- Supported models: BERT, ALBERT, DistilBERT, T5, T5v1.1, FLAN-T5, GPT2, BART, CodeGen, Whisper, CLIP, Vision Transformer, VisionEncoderDecoder
- Uses the ONNX runtime (PyTorch models must be converted to ONNX to run