from labml.configs import BaseConfigs
class RWKVConfigs(BaseConfigs):
"""
## Transformer Configurations
This defines configurations for a transformer.
The configurations are calculate using option functions.
These are lazy loaded and therefore only the necessary modules
are calculated.
"""
n_heads: int = 8
d_model: int = 512
n_layers: int = 6
dropout: float = 0.1
n_src_vocab: int
n_tgt_vocab: int