/ Модель

Характеристики

Параметры
905 млн
Лицензия
MIT
Архитектура
whisper · dense
Базовая модель
whisper-large-v3-turbo
Опубликована
21 июл 2026

whisper-twophase-multitask-80K-10WER-ct2

Распознавание речиАудио → текст
185скачиваний за 30 дней1лайквеса обновлены29 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Распознавание речи» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Whisper Bilingual German-English Multitask Model

HPI License: MIT CTranslate2

CT2 INT8-FP16 | OpenAI Whisper-large-v3-turbo | Bidirectional De-En Speech Translation & Transcription

Developed at the Hasso Plattner Institute (HPI) with computational resources provided by the HPI High-Performance Computing (HPC) cluster. Fine-tuned from openai/whisper-large-v3-turbo on the aman4014/translated-german-english-asr dataset — a curated parallel German-English speech corpus totalling approximately 4.65 million samples across 12 training splits — using a two-phase multitask schedule (80,000 steps). Optimized with CTranslate2 INT8-FP16 quantization for efficient, real-time bidirectional speech translation and transcription between German and English.


Table of Contents

  1. Model Overview
  2. Key Features
  3. Model Architecture
  4. Training Strategy & Data
  5. Performance Metrics
  6. Usage
  7. Supported Directions
  8. Technical Specifications
  9. Use Cases
  10. Limitations
  11. Citation
  12. Acknowledgements
  13. Funding Notice
  14. License

Model Overview

This model is a CTranslate2-optimized fine-tune of OpenAI's Whisper Large V3 Turbo, fine-tuned for bidirectional German-English speech translation and bilingual transcription. Quantized using INT8 weights and FP16 activations, it achieves an optimal balance between translation quality, low latency, reduced memory footprint, and bidirectional capability (De $\leftrightarrow$ En).

The model extends Whisper's standard task vocabulary with a custom <|en_to_de|> task token, enabling English-to-German speech translation directly within Whisper's autoregressive decoder — a capability absent in vanilla Whisper models.


Key Features

  • Bidirectional Translation: Supports both German-to-English (task="translate") and English-to-German (task="en_to_de").
  • Accurate German Transcription: Delivers 10.32% WER and 5.23% CER on German speech.
  • Turbo Architecture Efficiency: Built on the 4-layer decoder design of Whisper Large V3 Turbo, delivering 3.37x lower latency than vanilla Whisper Large V3.
  • Real-Time Performance: Mean RTF of 0.030 on CUDA — 47.9x faster than real-time across 50 hours of audio.
  • Best Quality-Efficiency Ratio: COMET/RTF of 20.3, ranking first among 12 benchmarked systems on LibriS2S.
  • Efficient Footprint: Quantized size of ~814 MB (vs. ~3.24 GB in FP32); ~1.5 GB memory footprint during inference.
  • Production-Ready: INT8-FP16 quantization optimized for deployment via faster-whisper and CTranslate2.
  • Zero Hard Errors: Processes 100% of test samples with zero failures across 24,375 benchmark samples.
  • Custom Task Token: Novel <|en_to_de|> task token (ID: 51866) initialized from a blend of <|translate|> and <|de|> embeddings.

Model Architecture

ParameterValue
Base Modelopenai/whisper-large-v3-turbo
Parameters~809M
Encoder Layers32
Decoder Layers4 (Turbo architecture)
Hidden Size ($d_{\text{model}}$)1,280
Attention Heads20 (Encoder) / 20 (Decoder)
QuantizationINT8 (weights) + FP16 (activations)
Model Size~814 MB (CT2 INT8-FP16) vs. ~3.24 GB (FP32)
Vocabulary Size51,867 tokens (including custom <|en_to_de|>)
Sample Rate16 kHz
FrameworkCTranslate2 / PyTorch

Custom Task Tokens

This model extends Whisper's vocabulary with:

TokenIDDescription
<|en_to_de|>51866New — English audio to German text translation
<|transcribe|>50360Standard — Speech-to-text in source language
<|translate|>50359Standard — Any speech to English text translation

Training Strategy & Data

Two-Phase Multitask Fine-Tuning

The model was trained on an NVIDIA H100 80GB HBM3 GPU (effective batch size: 32) using a two-phase schedule:

  1. Phase 1: Decoder-Only Training (15,000 steps, LR $3 \times 10^{-4}$, Warmup 500):
    • The encoder is frozen to preserve the base model's acoustic representations.
    • Only the decoder is trained across all 4 tasks to adapt to the new <|en_to_de|> token and output text distributions.
  2. Phase 2: End-to-End Joint Fine-Tuning (80,000 steps, LR $1 \times 10^{-5}$, Warmup 1000):
    • All parameters (encoder + decoder) are unfrozen for joint optimization.
    • Best checkpoint: checkpoint-74000 (evaluated at 80,000 steps).

Task Distribution

  • German $\to$ English Translation: 25%
  • English $\to$ German Translation (<|en_to_de|>): 35%
  • German Transcription (ASR): 20%
  • English Transcription (ASR): 20%

Training Corpus

Fine-tuned on the aman4014/translated-german-english-asr dataset, aggregating parallel German-English speech data:

SourceSamples
train_emilia_yodas01,980,000
train_mozilla_english_asr1,150,000
train_cv19_0547,000
train_eurospeech503,000
train_mls_0391,000
train_tuda_042,800
TV_2021.02_Neutral22,700
TV_2022.10_Neutral12,500
TV_2023.09_Hessisch2,110
TV_2021.06_Emotional2,020
train_de_DE_kerstin1,370
train_el_tts495

Performance Metrics

1. In-Domain & Parallel Speech Test Evaluation

From the training evaluation (checkpoint-74000 at 80,000 steps):

Evaluation TaskMetricScore
German Transcription (ASR)WER10.32%
German Transcription (ASR)CER5.23%
German $\to$ English TranslationBLEU70.13
German $\to$ English TranslationchrF82.47
English $\to$ German Translation (<|en_to_de|>)BLEU51.82
English $\to$ German Translation (<|en_to_de|>)chrF74.22
Overall Combined TranslationBLEU63.65

2. LibriS2S Benchmark (Cross-Domain Test Set, German to English, 24,375 samples)

Benchmarked against 11 baseline systems spanning quality ceilings, size-matched peers, and cascade architectures:

ModelTierBLEUChrFTERCOMETRTF MeanRTF p95Quality / Latency (COMET / RTF)
Whisper-large-v3Quality ceiling12.0732.4683.410.65060.1010.1526.4
Whisper-mediumFair peer11.7331.8783.990.64010.0720.1018.9
Cascade-Small-OpusMT-De2EnCascade11.6232.1782.710.63020.0600.07610.5
SeamlessM4T-v2-largeQuality ceiling11.6133.0981.200.65910.0790.1368.3
FasterWhisper-medium-CT2Fair peer11.4832.0382.480.63790.0380.06716.8
Whisper-smallFair peer9.5029.1889.190.59010.0390.05415.1
CT2-Whisper-Twophase (This Model)This model8.9130.7583.150.60890.0300.06720.3 (Rank 1 / 12)
BERT2BERT-cascadeCascade8.4828.8586.650.57110.1890.2813.0
Whisper-baseLower bound4.5222.84133.850.49960.0310.03716.1
Distil-Whisper-large-v3Fair peer2.2214.9399.230.38380.0260.05514.8
Whisper-tinyLower bound1.1615.55272.830.42430.0420.20510.1
Whisper-large-v3-turboQuality ceiling0.2616.09107.460.54630.0360.05815.2

Quality/Latency = COMET / RTF_mean. Higher is better. Measures semantic translation quality delivered per unit of compute time.

Latency Characteristics

Audio DurationPredicted RTFPredicted Inference Time
1 s~0.119~0.119 s
3 s~0.044~0.131 s
5 s~0.028~0.142 s
10 s~0.017~0.170 s
30 s~0.009~0.282 s

Usage

1. Inference with faster-whisper (Recommended)

pip install faster-whisper
from faster_whisper import WhisperModel

model = WhisperModel(
    "aman4014/whisper-twophase-multitask-80K-10WER-ct2",
    device="cuda",               # or "cpu"
    compute_type="int8_float16"  # use "int8" for CPU
)

# 1. German to English Speech Translation
segments, info = model.transcribe(
    "german_audio.wav",
    language="de",
    task="translate",
    beam_size=5
)
for segment in segments:
    print(f"[{segment.start:.2f}s -> {segment.end:.2f}s] {segment.text}")

# 2. English to German Speech Translation (Custom Task Token)
segments, info = model.transcribe(
    "english_audio.wav",
    language="de",
    task="en_to_de",
    beam_size=5
)
for segment in segments:
    print(f"[{segment.start:.2f}s -> {segment.end:.2f}s] {segment.text}")

# 3. German Speech-to-Text Transcription (ASR)
segments, info = model.transcribe(
    "german_audio.wav",
    language="de",
    task="transcribe",
    beam_size=5
)
for segment in segments:
    print(f"[{segment.start:.2f}s -> {segment.end:.2f}s] {segment.text}")

2. Inference with Hugging Face transformers

pip install transformers torch accelerate
import torch
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline

model_id = "aman4014/whisper-twophase-multitask-80K-10WER"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForSpeechSeq2Seq.from_pretrained(
    model_id,
    torch_dtype=torch.float16,
    low_cpu_mem_usage=True,
    device_map="cuda"
)

pipe = pipeline(
    "automatic-speech-recognition",
    model=model,
    tokenizer=processor.tokenizer,
    feature_extractor=processor.feature_extractor,
    torch_dtype=torch.float16,
    device="cuda",
)

# German transcription
result = pipe("german_audio.wav", generate_kwargs={"task": "transcribe", "language": "de"})
print(result["text"])

Supported Directions

Source AudioTarget OutputTask ParameterPurpose
GermanEnglish Texttask="translate"German-to-English Speech Translation
GermanGerman Texttask="transcribe", language="de"German Automatic Speech Recognition
EnglishGerman Texttask="en_to_de"English-to-German Speech Translation
EnglishEnglish Texttask="transcribe", language="en"English Automatic Speech Recognition

Technical Specifications

Quantization Details

This model uses INT8-FP16 mixed precision quantization via CTranslate2:

  • Weights: INT8 (8-bit integers) — 4x memory reduction
  • Activations: FP16 (16-bit floats) — Preserves numerical stability
  • Quantization Method: Symmetric per-tensor quantization
  • Accuracy: ~98% of FP32 performance (minimal degradation)
MetricFP32INT8-FP16Improvement
Model Size~3.24 GB~814 MB4x smaller
Memory Usage~4.5 GB~1.5 GB3x reduction
Inference Speed (GPU)1.0x2.5–3xFaster
Inference Speed (CPU)1.0x1.8–2.2xFaster

Environment Variables

# Model configuration
export WHISPER_MODEL_REPO_ID="aman4014/whisper-twophase-multitask-80K-10WER-ct2"
export WHISPER_MODEL_REVISION="main"
export WHISPER_EN_DE_TASK_TOKEN="<|en_to_de|>"

# Decoding parameters
export WHISPER_FINAL_BEAM_SIZE=6
export WHISPER_FINAL_MAX_NEW_TOKENS=224
export WHISPER_DECODE_PATIENCE=1.15
export WHISPER_DECODE_LENGTH_PENALTY=1.0
export WHISPER_DECODE_REPETITION_PENALTY=1.08
export WHISPER_DECODE_NO_REPEAT_NGRAM_SIZE=3

# Audio preprocessing
export WHISPER_SILENCE_TRIM_ENABLED=1
export WHISPER_SILERO_VAD_ENABLED=1
export WHISPER_SILERO_VAD_THRESHOLD=0.44

Use Cases

  • Live Conference Translation: German-English bidirectional interpretation with low latency.
  • Podcast and Video Subtitling: High-throughput batch subtitle generation with near-zero failure rate.
  • Bilingual Conversational AI: Real-time customer support for German and English speakers.
  • Medical & Legal Documentation: Transcribe and translate clinical or official recordings.

Limitations

  1. Output length compression on long segments: In zero-shot cross-domain tests with long audio (e.g. LibriS2S), long sentences without segmentation may exhibit length compression. Segmenting audio with VAD into chunks under 30s is strongly recommended.
  2. Domain mismatch: Extreme accents or domain-specific jargon outside the training corpus may require domain-adapted prompts.
  3. Short-clip overhead: For audio under 3 seconds, a fixed startup overhead (~0.114 s) dominates processing time; batching short clips is recommended.

Acknowledgements


Funding Notice

German (Original)

Das zugrunde liegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung und Forschung (BMBF) unter dem Förderkennzeichen "KI-Servicezentrum Berlin-Brandenburg" 16IS22092 gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.

English Translation

This project was funded by the German Federal Ministry of Education and Research (BMBF) under the funding code "KI-Servicezentrum Berlin-Brandenburg" 16IS22092. Responsibility for the content of this publication remains with the author.


License

This model is released under the MIT License.

MIT License

Copyright (c) 2024 Aman Raut, Hasso Plattner Institute

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Contact and Support

FieldDetails
AuthorAman Raut
InstitutionHasso Plattner Institute (HPI)
Hugging Face@aman4014
ContactVia HPI

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Можно запустить

Подбираем GPU…

Класс архитектуры
WhisperForConditionalGeneration
Ревизия весов
d0ac15a

0 моделей