JSPM

@echogarden/transformers-nodejs-lite

2.17.1-lite.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1087
  • Score
    100M100P100Q113823F
  • License Apache-2.0

A highly reduced fork of the Xenova JavaScript port of 🤗 transformers. Node.js only, with a lot of functionality removed.

Package Exports

  • @echogarden/transformers-nodejs-lite
  • @echogarden/transformers-nodejs-lite/src/transformers.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@echogarden/transformers-nodejs-lite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Transformers for Echogarden

This 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