transformers-js 是做什么的?
使用 Transformers.js 在 JavaScript/TypeScript 中直接运行最先进的机器学习模型。支持 NLP(文本分类、翻译、摘要)、计算机视觉(图像分类、目标检测)、音频(语音识别、音频分类)以及多模态任务。可在浏览器和服务端运行时(Node.js、Bun、Deno)中工作,利用 WebGPU/WASM 和 Hugging Face Hub 的预训练模型。
使用 Transformers.js 在 JavaScript/TypeScript 中直接运行最先进的机器学习模型。支持 NLP(文本分类、翻译、摘要)、计算机视觉(图像分类、目标检测)、音频(语音识别、音频分类)以及多模态任务。可在浏览器和服务端运行时(Node.js、Bun、Deno)中工作,利用 WebGPU/WASM 和 Hugging Face Hub 的预训练模型。
Transformers.js 使得在 JavaScript/TypeScript 环境中直接运行最先进的机器学习模型成为可能,无需依赖后端服务。该技能涵盖了自然语言处理(如文本分类、翻译和摘要)、计算机视觉(如图像分类和目标检测)、音频处理(如语音识别和音频分类)以及多模态任务。它支持在浏览器以及 Node.js、Bun、Deno 等服务端运行时中运行,通过 WebGPU 和 WASM 技术实现高效推理。借助 Hugging Face Hub 上的海量预训练模型,开发者可以在前端或非 Python 后端无缝集成强大的 AI 功能,降低了机器学习应用的门槛。
npx skills add https://github.com/huggingface/skills/tree/main/skills/transformers-jsInstalled? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →
使用 Transformers.js 在 JavaScript/TypeScript 中直接运行最先进的机器学习模型。支持 NLP(文本分类、翻译、摘要)、计算机视觉(图像分类、目标检测)、音频(语音识别、音频分类)以及多模态任务。可在浏览器和服务端运行时(Node.js、Bun、Deno)中工作,利用 WebGPU/WASM 和 Hugging Face Hub 的预训练模型。
This repo contains 5 individual skills — each has its own dedicated page.
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`.
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.
Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.
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.
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.
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Add documentation for a new AI provider — usage docs, env vars, Docker config, image resources.
Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.
This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.