transformers.js and SpawnDev.BlazorJS.TransformersJS
Transformers.js is the underlying JavaScript library that SpawnDev.BlazorJS.TransformersJS wraps to enable its use from Blazor WebAssembly applications, making them complements rather than competitors.
About transformers.js
huggingface/transformers.js
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
Leverages ONNX Runtime with WASM execution (CPU) or WebGPU (GPU) to run quantized transformer models efficiently in browsers, supporting optional 4-bit and 8-bit quantization. Provides a JavaScript API functionally equivalent to Hugging Face's Python library, enabling seamless conversion of PyTorch, TensorFlow, and JAX models via Optimum. Spans NLP, computer vision, audio, and multimodal tasks across text classification, object detection, speech recognition, and zero-shot learning.
About SpawnDev.BlazorJS.TransformersJS
LostBeard/SpawnDev.BlazorJS.TransformersJS
Use Transformers.js from Blazor WebAssembly to run pretrained models with the ONNX Runtime in the browser.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work