跳到正文
cccskills
免费在 GitHub 公开

faster-whisper

Use the faster-whisper package for CTranslate2-backed Whisper transcription, model selection, CPU/CUDA setup, audio utilities, VAD, timestamps, and conversion guidance.

中文简介正在准备中。当前显示原文说明。

集成工具OpenAIHugging Face
查看安装方法

包含的文件(12)

  • SKILL.md4.9 KB
  • references/installation-and-backends.md3.3 KB
  • references/model-management.md3.1 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json331 B
  • references/troubleshooting.md3.3 KB
  • scripts/check_install.py2.4 KB
  • sub-skills/transcription/references/api-reference.md7.9 KB
  • sub-skills/transcription/references/troubleshooting.md6.7 KB
  • sub-skills/transcription/references/workflows.md6.2 KB
  • sub-skills/transcription/scripts/transcribe_audio.py5.7 KB
  • sub-skills/transcription/SKILL.md5.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

faster-whisper Repo Skill

Use this skill when a task involves faster-whisper, CTranslate2 Whisper ASR, speech-to-text transcription, batched audio inference, word timestamps, VAD, Whisper model aliases, local CTranslate2 model directories, or CPU/CUDA runtime troubleshooting for this package.

faster-whisper is a Python reimplementation of OpenAI Whisper inference using CTranslate2. It exposes a small Python API centered on WhisperModel and BatchedInferencePipeline rather than a package-owned command-line interface.

Start here

  1. Install the package in the target runtime:

    pip install faster-whisper
    

    For a source checkout, use editable install only when developing that checkout:

    pip install -e .
    
  2. Run the minimal import check:

    python - <<'PY'
    import faster_whisper
    from faster_whisper import WhisperModel, available_models
    print(faster_whisper.__version__)
    print(available_models()[:5])
    PY
    
  3. For environment diagnostics, run the bundled helper:

    python scripts/check_install.py
    
  4. Route detailed transcription work to sub-skills/transcription/SKILL.md.

Route map

  • Read references/installation-and-backends.md when setting up Python, understanding runtime dependencies, choosing CPU vs CUDA, or diagnosing CTranslate2/cuDNN/library issues.
  • Read references/model-management.md when the task involves model aliases, Hugging Face downloads, offline caches, local converted CTranslate2 model directories, Distil-Whisper, or converting a Transformers/OpenAI Whisper checkpoint.
  • Read references/troubleshooting.md for cross-cutting install, import, model-download, backend, and deployment issues; transcription-specific failures are routed onward to the transcription sub-skill troubleshooting reference.
  • Read references/repo-provenance.md before deciding whether this skill is stale for a current checkout.
  • references/repo-routing-metadata.json is structured metadata used by the managed repo-skills router importer; it is not a human workflow guide.
  • Run scripts/check_install.py to inspect import, version, model aliases, CTranslate2 compute types, and VAD dependency health in the active environment.

Sub-skills

Sub-skillUse whenMain outputs
transcriptionThe task asks for ASR/transcription, batched inference, language detection, translation, word timestamps, VAD, hotwords, clip timestamps, stereo decoding, or segment output handling.API recipes, transcription workflows, troubleshooting, and a configurable transcription helper.

Common task routing

  • "Transcribe this audio file with faster-whisper" → use the transcription sub-skill standard or bundled-helper workflow.
  • "Make it faster on GPU" → read installation/backend guidance, then use the transcription sub-skill with device="cuda" and an appropriate compute_type.
  • "Use a local or fine-tuned Whisper model" → read model-management first, then instantiate WhisperModel with the local CTranslate2 model directory.
  • "Why is no transcription happening?" → read transcription troubleshooting; the segment iterable must be consumed.
  • "I need word timestamps or VAD" → use the transcription sub-skill references.
  • "Compare WER or benchmark memory" → this skill can explain package options, but heavy benchmark scripts are intentionally out of runtime scope because they require large models, datasets, GPU telemetry, and controlled hosts.

Public API anchor

from faster_whisper import WhisperModel, BatchedInferencePipeline

model = WhisperModel("tiny", device="cpu", compute_type="int8")
segments, info = model.transcribe("audio.mp3", language="en")
for segment in segments:  # transcription starts when iterated
    print(segment.start, segment.end, segment.text)

Use the transcription sub-skill for option details before writing production code, especially around generator consumption, batched defaults, VAD, timestamps, and CUDA/CPU compute types.

Boundaries

This is a user-facing operating skill, not a maintainer checklist. It does not cover release publishing, linting policy, or exhaustive benchmark reproduction. It also does not replace CTranslate2, Hugging Face Hub, PyAV, or ONNX Runtime documentation; it records how faster-whisper uses those dependencies for the package workflows above.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题