1
0
Fork 0
firefox/toolkit/components/ml/vendor/transformers/README.md
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

435 B

vendored dependencies

  • onnxruntime-web 1.14.0 (UMD modules)
  • Transformers.js 2.16.1 (patched for gecko)

To build the vendored dependencies, run ./build.sh.

The Transformers.js patch is required for building Transformers.js without including the onnxruntime-web NPM bundle. It uses webpack's externals feature to include the onnxruntime-web UMD module and changes the import statement in backends/onnx.js to point to it.