add read me

This commit is contained in:
2026-01-09 10:28:44 +11:00
commit edaf914b73
13417 changed files with 2952119 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
"""A collection of models which don't fit in the generic classes :class:`ctranslate2.Translator`
and :class:`ctranslate2.Generator`.
"""
try:
from ctranslate2._ext import (
Wav2Vec2,
Wav2Vec2Bert,
Whisper,
WhisperGenerationResult,
WhisperGenerationResultAsync,
)
except ImportError as e:
# Allow using the Python package without the compiled extension.
if "No module named" in str(e):
pass
else:
raise