Views
No views yet
openai/whisper-small. It is specifically optimized to perform end-to-end audio translation from Korean speech directly to time-synchronized English text subtitles.task="translate")openai/whisper-smallNF4) via bitsandbytesdidiudom94/my-zeroth-audio-dataset-with-text (4,000 balanced rows)Bingsu/KSS_Dataset (10,000 balanced rows)["q_proj", "v_proj", "out_proj", "k_proj"])per_device_train_batch_size=32, gradient_accumulation_steps=1)bfloat16 (bf16=True, tf32=True)metric_for_best_model="loss")| Model Variant | Corpus-Level BLEU Score | Translation Alignment Behavior |
|---|---|---|
| 📉 Original Base OpenAI Whisper Small | 5.55 | Struggles with colloquial variety filters; outputs pure Korean transcription or severe string hallucinations. |
| 🚀 Fine-Tuned Burn-to-Win V2 (This Model) | 10.68 | Accurately interprets sports enthusiasm and intent, generating fluent human-like subbing choices. |
how is he that fast ?why is he so fast ? (Highly contextual, fluent substitution)we should find nobody (Complete hallucination)peft and transformers ecosystem, use the following code snippet:1import torch
2from transformers import WhisperProcessor, WhisperForConditionalGeneration
3from peft import PeftModel, PeftConfig
4
5peft_model_id = "YOUR_HF_USERNAME/YOUR_REPO_NAME"
6
7# 1. Load base configuration and processor
8config = PeftConfig.from_pretrained(peft_model_id)
9processor = WhisperProcessor.from_pretrained(config.base_model_name_or_path, language="english", task="translate")
10
11# 2. Initialize underlying base architecture
12base_model = WhisperForConditionalGeneration.from_pretrained(
13 config.base_model_name_or_path,
14 torch_dtype=torch.bfloat16,
15 attn_implementation="sdpa",
16 device_map="auto"
17)
18
19# 3. Inject fine-tuned adapter layers
20model = PeftModel.from_pretrained(base_model, peft_model_id)
21model.eval()
22print("🎉 Custom translation engine deployed successfully!")stable-ts (Stable Whisper) with arguments chunk_size=30 and condition_on_previous_text=False to maintain constant timestamp stability and eliminate trailing token duplication bugs.