CoolFace
Modelpublic

olib-ai/whisper-to-oliver-fp16

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes7downloads
Model Card

<div align="center"> <img src="https://olib.ai/logo.png" alt="Olib AI Logo" width="200"/>

# Whisper to Oliver - FP16

Fine-tuned Whisper for Real-World Conversational Audio (FP16 Version)

![Model on HF](https://huggingface.co/olib-ai/whisper-to-oliver-fp16) ![License: MIT](https://opensource.org/licenses/MIT) ![Olib AI](https://www.olib.ai) </div>

๐ŸŽฏ Model Description

Whisper to Oliver FP16 is the half-precision version of our specialized fine-tuned Whisper model, optimized for real-world conversational audio with challenging acoustic conditions. This FP16 version offers faster inference and reduced memory usage while maintaining excellent transcription quality.

โœจ Key Features

  • โ€”๐ŸŽ™๏ธ Enhanced Performance on Poor Quality Audio: Fine-tuned on 170K conversational datasets with minor to poor audio quality
  • โ€”๐Ÿ“ž Phone Call Optimized: Specifically trained on short conversational segments typical of phone calls
  • โ€”๐Ÿš€ Turbo Performance: Inherits the speed advantages of whisper-large-v3-turbo
  • โ€”๐Ÿ’ผ Enterprise Ready: Developed by Olib AI for business applications
  • โ€”โšก FP16 Optimized: Half-precision format for 2x faster inference and 50% memory reduction
  • โ€”๐ŸŽฏ Production Ready: Ideal balance between speed and accuracy for deployment

๐Ÿ“Š Training Details

  • โ€”Base Model: openai/whisper-large-v3-turbo
  • โ€”Training Dataset: 170,000 conversational audio samples
  • โ€”Audio Characteristics: Minor to poor quality recordings
  • โ€”Focus: Short conversational segments typical of phone interactions
  • โ€”Precision: FP16 (converted from FP32 original)
  • โ€”Developer: Olib AI - Building AI Services for Businesses

๐Ÿš€ Usage

Using the Transformers Library

python
import torch
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline

device = "cuda:0" if torch.cuda.is_available() else "cpu"
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32

model_id = "olib-ai/whisper-to-oliver-fp16"

model = AutoModelForSpeechSeq2Seq.from_pretrained(
    model_id, torch_dtype=torch_dtype, low_cpu_mem_usage=True, use_safetensors=True
)
model.to(device)

processor = AutoProcessor.from_pretrained(model_id)

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

# Transcribe audio
result = pipe("audio.mp3")
print(result["text"])

Advanced Usage with Parameters

python
# For better results with phone calls or poor quality audio
result = pipe(
    "phone_call.mp3",
    chunk_length_s=30,
    batch_size=16,
    return_timestamps=True,
)
print(result["text"])

๐ŸŽฏ FP16 vs FP32 Comparison

MetricFP32 VersionFP16 Version
Model Size~1.5GB~760MB
Inference Speed1x~2x faster
Memory Usage1x~50% less
AccuracyBaseline~99.9% retained

For maximum accuracy, consider using our FP32 version.

๐Ÿ“ˆ Performance

Whisper to Oliver shows significant improvements over the base model when dealing with:

  • โ€”๐Ÿ“ž Phone call recordings
  • โ€”๐ŸŽ™๏ธ Low-quality microphone inputs
  • โ€”๐ŸŒ Conversational speech with background noise
  • โ€”๐Ÿ’ฌ Short dialogue segments

๐ŸŽฏ Intended Use

This model is designed for:

  • โ€”Customer service call transcription
  • โ€”Meeting transcription with variable audio quality
  • โ€”Voice assistant applications
  • โ€”Real-time conversation analysis
  • โ€”Accessibility applications for hearing-impaired users
  • โ€”Edge deployment where memory and speed are critical

โš ๏ธ Limitations and Ethical Considerations

Following the ethical guidelines of the base Whisper model:

  • โ€”Should not be used to transcribe recordings without consent
  • โ€”Not recommended for "subjective classification" tasks
  • โ€”Should undergo robust evaluation before deployment in high-risk contexts
  • โ€”May show performance variations across different languages and demographics
  • โ€”FP16 precision may have minimal impact on edge cases compared to FP32

๐Ÿ“œ License

This model is released under the MIT License, allowing for commercial and non-commercial use with proper attribution.

๐Ÿ“– Citation

If you use this model in your research or applications, please cite both our work and the original Whisper paper:

bibtex
@misc{whisper-to-oliver,
  author = {{Olib AI}},
  title = {Whisper to Oliver: Fine-tuned Whisper for Real-World Conversational Audio},
  year = {2024},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/olib-ai/whisper-to-oliver-fp16}},
}

@misc{radford2022whisper,
  doi = {10.48550/ARXIV.2212.04356},
  url = {https://arxiv.org/abs/2212.04356},
  author = {Radford, Alec and Kim, Jong Wook and Xu, Tao and Brockman, Greg and McLeavey, Christine and Sutskever, Ilya},
  title = {Robust Speech Recognition via Large-Scale Weak Supervision},
  publisher = {arXiv},
  year = {2022},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

๐Ÿ‘ฅ About Olib AI

Olib AI specializes in building AI services for businesses. Our team focuses on creating practical AI solutions that solve real-world problems.

Contact Us:


<div align="center"> <strong>Built with โค๏ธ by Olib AI</strong> </div>