A highly reduced fork of the Xenova JavaScript port of 🤗 transformers. Node.js only, with a lot of functionality removed.
npm install @echogarden/transformers-nodejs-liteThis package is a highly reduced fork of the Xenova JavaScript port of 🤗 transformers. It's modified for the particular needs of Echogarden, to ensure very small package and dependency sizes.
It keeps:
* Models
* Tokenizers
* Node.js port (only onnxruntime-node is supported, as a peer dependency)
It removes:
* All pipelines
* All processors
* All image and audio utilities
* Web port (onnxruntime-web dependency is removed)
* Documentation
* Tests
* Examples