Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ugness/ELF-pytorch
/ functions
Functions
106 in github.com/Ugness/ELF-pytorch
⨍
Functions
106
◇
Types & classes
19
Method
parity_check
Run the adapter on `(input_ids, attention_mask)` and compare against `reference_outputs`. Returns a dict with `max_abs_diff`, `mean_abs_diff`,
pytorch_lightning/encoders/base.py:57
Method
setup
(self, stage=None)
pytorch_lightning/lightning_module.py:107
Method
setup
(self, stage=None)
pytorch_lightning/lightning_module.py:360
Function
shift_left
(x: torch.Tensor, shift_per_sample: torch.Tensor, pad_value: int = 0, axis: int = 1)
pytorch_lightning/utils/generation_utils.py:20
Method
train_dataloader
(self)
pytorch_lightning/lightning_module.py:364
Method
training_step
(self, batch: Dict[str, torch.Tensor], batch_idx: int)
pytorch_lightning/lightning_module.py:140
← previous
101–106 of 106, ranked by callers