qmetrics.net

Transformers.js

Hugging Face transformers machine learning in the browser

Transformers.js screenshot

Transformers.js runs pretrained Hugging Face-style models in the browser via ONNX Runtime, with a pipeline API for NLP, vision, audio, and multimodal tasks.

Overview

Transformers.js brings Hugging Face transformers workflows to JavaScript so models can run in the browser without a dedicated inference server. The API is intended to mirror the Python transformers library closely so many of the same pretrained models can be used with familiar call patterns.

The pipeline API bundles preprocessing, model inference, and postprocessing for tasks across modalities. Documented support includes text classification, question answering, summarization, translation, generation, image classification, object detection, segmentation, depth estimation, speech recognition, audio classification, text-to-speech, and several multimodal zero-shot tasks.

Inference uses ONNX Runtime in the browser, with models runnable on CPU through WASM by default or on WebGPU when configured. Quantized dtypes such as q8 or q4 can reduce bandwidth and memory use in constrained environments. Models can be loaded from the Hub or custom paths, and PyTorch, TensorFlow, or JAX checkpoints can be converted to ONNX using Optimum.

Installation is available through NPM or CDN import for vanilla pages. By default the library fetches hosted pretrained weights and WASM binaries, with settings to override those paths for custom hosting.

Key features

  • Pipeline API aligned with Python transformers
  • ONNX Runtime in-browser inference
  • WebGPU or WASM CPU execution
  • Quantized model dtype options
  • NLP, vision, audio, and multimodal tasks
  • Hub model IDs or local ONNX paths
  • CDN and NPM distribution
  • Optimum-based model conversion path

Use cases

  • Client-side sentiment analysis
  • In-browser speech transcription
  • Image classification without a server
  • Privacy-sensitive local inference
  • Prototyping transformer models in web apps

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

  • Local tree-sitter AST code parsing
  • Queryable knowledge graph output
  • EXTRACTED and INFERRED edge tags
PythonLinux, macOS, Windows, CLIDetails →
★ 156.9k⟳ todayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

  • Agent-oriented website build workflow
  • Dealt palettes, type, and hero layouts
  • Licensed photograph and icon resolution
JavaScriptCLIDetails →
★ 125.4k⟳ 7 days agoMIT