Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Navidfoumani/ConvTran
/ types & classes
Types & classes
21 in github.com/Navidfoumani/ConvTran
⨍
Functions
89
◇
Types & classes
21
↓ 4 callers
Class
tAPE
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 callers
Class
Attention
Models/Attention.py:6
↓ 3 callers
Class
Attention_Rel_Scl
Models/Attention.py:45
↓ 3 callers
Class
Attention_Rel_Vec
Models/Attention.py:97
↓ 3 callers
Class
CausalConv1d
Models/model.py:221
↓ 3 callers
Class
LearnablePositionalEncoding
Models/AbsolutePositionalEncoding.py:85
↓ 3 callers
Class
SupervisedTrainer
Training.py:55
↓ 3 callers
Class
dataset_class
utils.py:137
↓ 1 callers
Class
AbsolutePositionalEncoding
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 callers
Class
CasualConvTran
Models/model.py:153
↓ 1 callers
Class
ConvTran
Models/model.py:86
↓ 1 callers
Class
NoFussCrossEntropyLoss
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 callers
Class
Transformer
Models/model.py:26
Class
AdamW
Models/optimizers.py:188
Class
Analyzer
Models/analysis.py:208
Class
BaseTrainer
Training.py:18
Class
Permute
Models/model.py:11
Class
PlainRAdam
Models/optimizers.py:110
Class
Printer
Class for printing output by refreshing the same line in the console, e.g. for indicating progress of a process
Models/utils.py:292
Class
RAdam
Models/optimizers.py:15
Class
SaveBestModel
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