MCPcopy Create free account

hub / github.com/Navidfoumani/ConvTran / types & classes

Types & classes21 in github.com/Navidfoumani/ConvTran

↓ 4 callersClasstAPE
r"""Inject some information about the relative or absolute position of the tokens in the sequence. The positional encodings have the same dime
Models/AbsolutePositionalEncoding.py:8
↓ 3 callersClassAttention
Models/Attention.py:6
↓ 3 callersClassAttention_Rel_Scl
Models/Attention.py:45
↓ 3 callersClassAttention_Rel_Vec
Models/Attention.py:97
↓ 3 callersClassCausalConv1d
Models/model.py:221
↓ 3 callersClassLearnablePositionalEncoding
Models/AbsolutePositionalEncoding.py:85
↓ 3 callersClassSupervisedTrainer
Training.py:55
↓ 3 callersClassdataset_class
utils.py:137
↓ 1 callersClassAbsolutePositionalEncoding
r"""Inject some information about the relative or absolute position of the tokens in the sequence. The positional encodings have the same dime
Models/AbsolutePositionalEncoding.py:47
↓ 1 callersClassCasualConvTran
Models/model.py:153
↓ 1 callersClassConvTran
Models/model.py:86
↓ 1 callersClassNoFussCrossEntropyLoss
pytorch's CrossEntropyLoss is fussy: 1) needs Long (int64) targets only, and 2) only 1D. This function satisfies these requirements
Models/loss.py:18
↓ 1 callersClassTransformer
Models/model.py:26
ClassAdamW
Models/optimizers.py:188
ClassAnalyzer
Models/analysis.py:208
ClassBaseTrainer
Training.py:18
ClassPermute
Models/model.py:11
ClassPlainRAdam
Models/optimizers.py:110
ClassPrinter
Class for printing output by refreshing the same line in the console, e.g. for indicating progress of a process
Models/utils.py:292
ClassRAdam
Models/optimizers.py:15
ClassSaveBestModel
Class to save the best model while training. If the current epoch's validation loss is less than the previous least less, then save the m
Models/utils.py:50