transformer¶
- transformer_implementation package
- Subpackages
- Submodules
- transformer_implementation.DataLoaderFactory module
- transformer_implementation.Decoder module
- transformer_implementation.Encoder module
- transformer_implementation.Tokenizer module
- transformer_implementation.Transformer module
- transformer_implementation.TransformerConfig module
TransformerConfig
TransformerConfig.BOS_IDX
TransformerConfig.EOS_IDX
TransformerConfig.PAD_IDX
TransformerConfig.backend
TransformerConfig.batch_size
TransformerConfig.beta1
TransformerConfig.beta2
TransformerConfig.bias
TransformerConfig.block_size
TransformerConfig.compile
TransformerConfig.ddp
TransformerConfig.device
TransformerConfig.device_type
TransformerConfig.dropout
TransformerConfig.dtype
TransformerConfig.eps
TransformerConfig.eval_iters
TransformerConfig.grad_accumulation_steps
TransformerConfig.learning_rate
TransformerConfig.max_epochs
TransformerConfig.max_iters
TransformerConfig.n_embd
TransformerConfig.n_head
TransformerConfig.n_layer
TransformerConfig.train_data_size
TransformerConfig.vocab_size
TransformerConfig.weight_decay
- Module contents
- utils package