CTranslate2
4.5
Get started
Quickstart
Installation
Tasks
Text translation
Text generation
Text encoding
Speech recognition
Developer guides
Model conversion
Quantization
Decoding features
Multithreading and parallelism
Memory management
Performance tips
Environment variables
Framework guides
Fairseq
Marian
OpenNMT-py
OpenNMT-tf
OPUS-MT
Transformers
API
Python
ctranslate2
ctranslate2.converters
ctranslate2.models
ctranslate2.specs
Activation
EmbeddingsMerge
LanguageModelSpec
LayerSpec
ModelSpec
RotaryScalingType
SequenceToSequenceModelSpec
TransformerDecoderModelSpec
TransformerDecoderSpec
TransformerEncoderModelSpec
TransformerEncoderSpec
TransformerSpec
Wav2Vec2BertSpec
Wav2Vec2Spec
WhisperSpec
Other information
Hardware support
Frequently asked questions
Versioning
CTranslate2
»
Python
»
ctranslate2.specs
ctranslate2.specs
Activation
EmbeddingsMerge
LanguageModelSpec
LayerSpec
ModelSpec
RotaryScalingType
SequenceToSequenceModelSpec
TransformerDecoderModelSpec
TransformerDecoderSpec
TransformerEncoderModelSpec
TransformerEncoderSpec
TransformerSpec
Wav2Vec2BertSpec
Wav2Vec2Spec
WhisperSpec