noether.modeling.models.transformer¶
Classes¶
Implementation of a Transformer model. |
Module Contents¶
- class noether.modeling.models.transformer.Transformer(config)¶
Bases:
torch.nn.ModuleImplementation of a Transformer model.
- Parameters:
config (noether.core.schemas.models.TransformerConfig) – Configuration of the Transformer model.
- blocks¶
- forward(x, attn_kwargs)¶
Forward pass of the Transformer model.