Skip to content

Feat/parakeet bindings - #173

Open
absadiki wants to merge 14 commits into
mainfrom
feat/parakeet-bindings
Open

Feat/parakeet bindings#173
absadiki wants to merge 14 commits into
mainfrom
feat/parakeet-bindings

Conversation

@absadiki

Copy link
Copy Markdown
Owner

This PR adds full Python bindings for the Parakeet TDT model (parakeet.h) and refactors the project architecture to support multiple models.

C++ bindings split:

  • Extracted all whisper bindings into src/whisper_bindings.cpp
  • Added src/parakeet_bindings.cpp with full parakeet.h API coverage
  • src/main.cpp is now a thin entry point

Python architecture:

  • pywhispercpp/base.py — BaseModel ABC and shared Segment class
  • pywhispercpp/whisper_model.py — WhisperModel with typed WhisperParams/WhisperContextParams dataclasses
  • pywhispercpp/parakeet_model.py — ParakeetModel with typed ParakeetParams/ParakeetContextParams dataclasses
  • pywhispercpp/model.py — old Model class kept for backward compatibility with deprecation warning

Other:

  • whisper.cpp bumped to v1.9.0 (needed for parakeet.h)
  • Comprehensive tests for both models (test_whisper_model.py, test_parakeet_model.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant