Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devvrit/matformer
/ functions
Functions
8 in github.com/devvrit/matformer
⨍
Functions
8
◇
Types & classes
2
↓ 3 callers
Method
configure_subnetwork
Configure subnetwork size based on flag.
modified_llama.py:17
↓ 1 callers
Method
__init__
(self, config, scale_factors)
modified_llama.py:8
↓ 1 callers
Function
evaluate_model
Evaluate the model on the eval dataset for each flag and return losses.
train.py:24
Method
__init__
(self, config)
modified_llama.py:44
Function
collate_fn
(batch)
train.py:15
Method
configure_subnetwork
Configure the subnetwork for all layers based on the flag.
modified_llama.py:52
Method
forward
(self, x)
modified_llama.py:31
Function
preprocess_data
(example, tokenizer)
train.py:11