Views
No views yet
checkpoints/
<task>_<arch>_<config>_s<seed>/
best_model.pt # add-7, histogram (PyTorch state dict + config)
modadd_best.pt # modular addition<task> ∈ {add7, modadd, hist}. <arch> ∈ {ffn, glu, moe, moe_glu}. <config> encodes width, activation, normalization, and routing variant (e.g. nonorm, narrow_nonorm, topk2_nonorm, randroute_nonorm, d170_silu_nonorm)..pt file contains a Python dict with keys: model_state_dict, config, optimizer_state_dict, and one of accuracy / test_acc / step / epoch. The config dict stores architectural hyperparameters only.1from huggingface_hub import hf_hub_download
2import torch
3
4path = hf_hub_download(
5 repo_id="Sparsity-Moves-Computation/moe-redistribution-checkpoints",
6 filename="add7_ffn_nonorm_s42/best_model.pt",
7)
8ck = torch.load(path, weights_only=False, map_location="cpu")
9print(ck["config"]) # architectural hyperparameters
10print(ck["accuracy"]) # final eval accuracy1huggingface-cli download \
2 Sparsity-Moves-Computation/moe-redistribution-checkpoints \
3 --local-dir checkpoints/OneLayerTransformer class (in model/model.py) reproduces every result in the paper..pt config dicts.