MCPcopy Create free account

hub / github.com/ant-louis/belgpt2 / types & classes

Types & classes35 in github.com/ant-louis/belgpt2

↓ 4 callersClassParallelDataset
scripts/tools/xlm/data/dataset.py:244
↓ 4 callersClassTransformerModel
scripts/tools/xlm/model/transformer.py:241
↓ 3 callersClassDataset
scripts/tools/xlm/data/dataset.py:80
↓ 2 callersClassDictionary
scripts/tools/xlm/data/dictionary.py:29
↓ 2 callersClassLineByLineTextDataset
scripts/tools/run_language_modeling.py:117
↓ 2 callersClassMultiHeadAttention
scripts/tools/xlm/model/transformer.py:151
↓ 2 callersClassTextDataset
scripts/tools/run_language_modeling.py:69
↓ 1 callersClassAttrDict
scripts/tools/xlm/utils.py:29
↓ 1 callersClassBeamHypotheses
scripts/tools/xlm/model/transformer.py:740
↓ 1 callersClassBottleneckResidualConv2d
scripts/tools/xlm/model/memory/query.py:82
↓ 1 callersClassGroupedLinear
scripts/tools/xlm/model/memory/query.py:59
↓ 1 callersClassLogFormatter
scripts/tools/xlm/logger.py:13
↓ 1 callersClassPredLayer
Prediction layer (cross_entropy or adaptive_softmax).
scripts/tools/xlm/model/transformer.py:106
↓ 1 callersClassQueryConv
scripts/tools/xlm/model/memory/query.py:204
↓ 1 callersClassQueryIdentity
scripts/tools/xlm/model/memory/query.py:114
↓ 1 callersClassQueryMLP
scripts/tools/xlm/model/memory/query.py:153
↓ 1 callersClassSentenceEmbedder
scripts/tools/xlm/model/embedder.py:23
↓ 1 callersClassStreamDataset
scripts/tools/xlm/data/dataset.py:17
↓ 1 callersClassTransformerFFN
scripts/tools/xlm/model/transformer.py:224
ClassAdam
Same as https://github.com/pytorch/pytorch/blob/master/torch/optim/adam.py, without amsgrad, with step in a tensor, and states initialization
scripts/tools/xlm/optim.py:16
ClassAdamCosineWithWarmup
Assign LR based on a cyclical schedule that follows the cosine function. See https://arxiv.org/pdf/1608.03983.pdf for details. We also su
scripts/tools/xlm/optim.py:142
ClassAdamInverseSqrtWithWarmup
Decay the LR based on the inverse square root of the update number. We also support a warmup phase where we linearly increase the learning ra
scripts/tools/xlm/optim.py:89
ClassEncDecEvaluator
scripts/tools/xlm/evaluation/evaluator.py:461
ClassEncDecTrainer
scripts/tools/xlm/trainer.py:862
ClassEvaluator
scripts/tools/xlm/evaluation/evaluator.py:84
ClassFLUE
scripts/tools/xlm/evaluation/flue.py:41
ClassGLUE
scripts/tools/xlm/evaluation/glue.py:47
ClassHashingMemory
scripts/tools/xlm/model/memory/memory.py:18
ClassHashingMemoryFlat
scripts/tools/xlm/model/memory/memory.py:409
ClassHashingMemoryProduct
scripts/tools/xlm/model/memory/memory.py:518
ClassHashingMemoryProductFast
scripts/tools/xlm/model/memory/memory.py:635
ClassSingleEvaluator
scripts/tools/xlm/evaluation/evaluator.py:448
ClassSingleTrainer
scripts/tools/xlm/trainer.py:844
ClassTrainer
scripts/tools/xlm/trainer.py:32
ClassXNLI
scripts/tools/xlm/evaluation/xnli.py:31