Transformers JS

Codex curated Hugging Face skill for Transformers.js browser or Node inference, model conversion constraints, pipelines, and web deployment.

Rycen7822 Updated

File contents

transformers-js

When to Use

Use for JavaScript or browser-side inference with Transformers.js, ONNX/web constraints, pipeline setup, and web app integration.

Do Not Use When

Do not use for Python-only trainer code or Hugging Face Jobs management.

Required Inputs

Runtime target, model id, task pipeline, bundler or Node version, and browser performance constraints.

Workflow

  1. Select a compatible Transformers.js pipeline.
  2. Wire model loading and inference.
  3. Handle caching and bundle constraints.
  4. Smoke test in browser or Node.

Rycen7822/skill-retrieval-mcp/tree/main/tests/fixtures/retrieval_quality/skills/codex-builtins/transformers-js commit f00685bfab

Frequently asked questions

npx skillmds@latest add rycen7822/transformers-js