Community画像github.com

huggingface/transformers-js

Transformers.js を使用して、最先端の機械学習モデルを JavaScript/TypeScript で直接実行します。NLP(テキスト分類、翻訳、要約)、コンピュータビジョン(画像分類、物体検出)、音声(音声認識、音声分類)、マルチモーダルタスクをサポート。ブラウザおよびサーバーサイドランタイム(Node.js、Bun、Deno)で動作し、Hugging Face Hub の事前学習済みモデルを WebGPU/WASM で利用します。

transformers-js とは?

このスキルは、Transformers.js を使用して、ブラウザやサーバーサイド(Node.js、Bun、Deno)で、機械学習モデルを JavaScript/TypeScript から直接実行できるようにします。NLP(テキスト分類、翻訳、要約)、コンピュータビジョン(画像分類、物体検出)、音声処理(音声認識、音声分類)など、幅広いタスクをサポートしており、Pythonバックエンドを必要としません。WebGPU や WASM といったブラウザ技術を活用して、Hugging Face Hub で公開されている事前学習済みモデルをインポート・実行できるため、開発者はクライアントサイドでも高度なAI機能を導入できます。このスキールはコードアシスタント(Claude Code、Cursor、Codex など)向けに設計されており、環境変数やインポートの設定を一貫して行い、最新のAPIバージョンを使用するようガイドします。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/huggingface/skills/tree/main/skills/transformers-js

Installed? Explore more 画像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

transformers-js は何をしますか?

Transformers.js を使用して、最先端の機械学習モデルを JavaScript/TypeScript で直接実行します。NLP(テキスト分類、翻訳、要約)、コンピュータビジョン(画像分類、物体検出)、音声(音声認識、音声分類)、およびマルチモーダルタスクをサポート。ブラウザおよびサーバーサイドランタイム(Node.js、Bun、Deno)で動作し、Hugging Face Hub の事前学習済みモデルを WebGPU/WASM で利用します。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

huggingface/hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging Face infrastructure; managing Hugging Face repos; discussions and pull requests; browsing models, datasets and spaces; reading, searching, or browsing academic papers; managing collections; querying datasets; configuring spaces; setting up webhooks; or deploying and managing HF Inference Endpoints. Make sure to use this skill whenever the user mentions 'hf', 'huggingface', 'Hugging Face', 'huggingface-cli', or 'hugging face cli', or wants to do anything related to the Hugging Face ecosystem and to AI and ML in general. Also use for cloud storage needs like training checkpoints, data pipelines, or agent traces. Use even if the user doesn't explicitly ask for a CLI command. Replaces the deprecated `huggingface-cli`.

huggingface/huggingface-datasets

Use this skill for Hugging Face Dataset Viewer API workflows that fetch subset/split metadata, paginate rows, search text, apply filters, download parquet URLs, and read size or statistics.

huggingface/huggingface-gradio

Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.

huggingface/huggingface-llm-trainer

Train or fine-tune language and vision models using TRL (Transformer Reinforcement Learning) or Unsloth with Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV scripts with PEP 723 format, dataset preparation and validation, hardware selection, cost estimation, Trackio monitoring, Hub authentication, model selection/leaderboards and model persistence. Use for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.

huggingface/huggingface-papers

Look up and read Hugging Face paper pages in markdown, and use the papers API for structured metadata such as authors, linked models/datasets/spaces, Github repo and project page. Use when the user shares a Hugging Face paper page URL, an arXiv URL or ID, or asks to summarize, explain, or analyze an AI research paper.

関連スキル