from ctranslate2.specs.attention_spec import RotaryScalingType from ctranslate2.specs.common_spec import Activation, EmbeddingsMerge from ctranslate2.specs.model_spec import ( LanguageModelSpec, LayerSpec, ModelSpec, SequenceToSequenceModelSpec, ) from ctranslate2.specs.transformer_spec import ( TransformerDecoderModelSpec, TransformerDecoderSpec, TransformerEncoderModelSpec, TransformerEncoderSpec, TransformerSpec, ) from ctranslate2.specs.wav2vec2_spec import Wav2Vec2Spec from ctranslate2.specs.whisper_spec import WhisperSpec