transformers-js
Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-25
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- transformers-js
- risk
- critical
- source
- https://github.com/huggingface/skills/tree/main/skills/transformers-js
- license
- Apache-2.0
- date_added
- 1782864000000
- description
- Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript.
- source_repo
- huggingface/skills
- source_type
- official
- license_source
- https://github.com/huggingface/skills/blob/main/LICENSE
02 资源文件 8
- 参考文档references/CACHE.md9.0 KB
- 参考文档references/CONFIGURATION.md10.8 KB
- 参考文档references/detailed-guide.md23.1 KB
- 参考文档references/EXAMPLES.md15.0 KB
- 参考文档references/MODEL_ARCHITECTURES.md5.5 KB
- 参考文档references/MODEL_REGISTRY.md5.9 KB
- 参考文档references/PIPELINE_OPTIONS.md14.6 KB
- 参考文档references/TEXT_GENERATION.md7.6 KB
03 SKILL.md 正文
Transformers.js - Machine Learning for JavaScript
Transformers.js enables running state-of-the-art machine learning models directly in JavaScript across browsers and server-side runtimes (Node.js, Bun, Deno), with no Python server required.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
Use this skill when you need to:
- Run ML models for text analysis, generation, or translation in JavaScript
- Perform image classification, object detection, or segmentation
- Implement speech recognition or audio processing
- Build multimodal AI applications (text-to-image, image-to-text, etc.)
- Run models client-side in the browser without a backend
Limitations
- Use this skill only when the task clearly matches its upstream product or API scope.
- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.
- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
04 同仓库更多 Skills
zero-trust
Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.
zcode-delegate
Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
youtube-transcript
Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.
youtube-transcript-skills
Fetch YouTube video transcripts, search videos/channels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.
youtube-notetaker
Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.
youtube-full
Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.