Feature Extraction
Transformers
Safetensors
hetero_moe_projspace
mixture-of-experts
heterogeneous
dimension-projection-space
ffn-fusion
custom_code
Run this model with HF Jobs
Run redmingwei/HeteroMoEProjSpace-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/redmingwei/HeteroMoEProjSpace-v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/redmingwei/HeteroMoEProjSpace-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use redmingwei/HeteroMoEProjSpace-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use redmingwei/HeteroMoEProjSpace-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="redmingwei/HeteroMoEProjSpace-v2", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("redmingwei/HeteroMoEProjSpace-v2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
v69.1: report.json
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226{ "hist": [ { "step": 0, "ce": 1.1614564657211304, "train_acc": 0.21875, "val_acc": 0.3336663336663337, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.8814111716632197, "router_wnorm": 0.7871493101119995, "router_gnorm": 0.10508746653795242, "slot_ent": 0.9915778040885925, "slot_ema": { "Q": 0.25012, "K": 0.24993, "V": 0.24983, "O": 0.25013 }, "loss_ent": -1.3746187686920166, "loss_ctr": 0.0 }, { "step": 250, "ce": 0.9616115689277649, "train_acc": 0.5625, "val_acc": 0.44755244755244755, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.5676721647920427, "router_wnorm": 0.793480396270752, "router_gnorm": 0.29539093375205994, "slot_ent": 0.16446226835250854, "slot_ema": { "Q": 0.04812, "K": 0.06051, "V": 0.25238, "O": 0.63899 }, "loss_ent": -0.22799311578273773, "loss_ctr": 0.0 }, { "step": 500, "ce": 0.816203236579895, "train_acc": 0.5625, "val_acc": 0.5664335664335665, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.5024289553477158, "router_wnorm": 1.0334053039550781, "router_gnorm": 1.753765536705032e-05, "slot_ent": 2.7253572625340894e-06, "slot_ema": { "Q": 0.01233, "K": 0.25, "V": 0.02046, "O": 0.9623 }, "loss_ent": -3.7781474020448513e-06, "loss_ctr": 0.0 }, { "step": 750, "ce": 0.7071026563644409, "train_acc": 0.71875, "val_acc": 0.5834165834165834, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.9592901614447508, "router_wnorm": 1.445188283920288, "router_gnorm": 5.338194569048937e-06, "slot_ent": 1.3104370282235323e-06, "slot_ema": { "Q": 0.15128, "K": 0.02064, "V": 0.15593, "O": 0.99186 }, "loss_ent": -1.8166515474149492e-06, "loss_ctr": 0.0 }, { "step": 1000, "ce": 0.644818902015686, "train_acc": 0.71875, "val_acc": 0.6073926073926074, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.9162790202904709, "router_wnorm": 1.4514034986495972, "router_gnorm": 0.004328584764152765, "slot_ent": 0.0019058585166931152, "slot_ema": { "Q": 0.01303, "K": 0.05471, "V": 0.01446, "O": 0.94371 }, "loss_ent": -0.0026420808862894773, "loss_ctr": 0.0 }, { "step": 1250, "ce": 0.5092276334762573, "train_acc": 0.75, "val_acc": 0.6133866133866134, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.9977017125930302, "router_wnorm": 1.46727454662323, "router_gnorm": 0.0031136395409703255, "slot_ent": 0.0008138518896885216, "slot_ema": { "Q": 0.057, "K": 0.00686, "V": 0.01959, "O": 0.97296 }, "loss_ent": -0.001128238276578486, "loss_ctr": 0.0 }, { "step": 1500, "ce": 0.6562076807022095, "train_acc": 0.78125, "val_acc": 0.6363636363636364, "bal": 8.399999618530273, "load": [ 1.0, 1.0, 1.0, 1.0 ], "ent": 0.9275810321745713, "router_wnorm": 1.4877407550811768, "router_gnorm": 0.01027725450694561, "slot_ent": 0.00043045240454375744, "slot_ema": { "Q": 0.00841, "K": 0.03352, "V": 0.25, "O": 0.99389 }, "loss_ent": -0.0005967337638139725, "loss_ctr": 0.0 } ], "best_val_acc": 0.6363636363636364, "split": "按类别分层 80/20", "eval": { "acc_heldout": 0.6363636363636364, "chance": 0.25, "load": [ 1.0, 1.0, 1.0, 0.999000999000999 ], "entropy": 0.9759452193282815, "balance": 0.9990009980019979, "proj_space_slot_gate": { "load": [ 1.0, 1.0, 1.0, 1.0 ], "entropy": 0.0006361480800595776, "balance": 0.9999999989999999 }, "fusion_expert": { "load": [ 1.0, 1.0, 1.0, 0.999000999000999 ], "entropy": 0.9759452193282815, "balance": 0.9990009980019979 } }, "version": "69.1", "fix": "proj_space.router 此前是死代码(输出未被使用),现作为 token 级槽门控乘进 canonical", "hparams": { "lr": 0.0002, "steps": 1500, "bs": 32, "bal_w": 0.01 }, "params": { "proj_space": 4728846, "fusion": 16282880 }, "note": "融合层吃1024维,专家解冻(偏离项目原设定)"}checkpoints/v69.1/report.jsonAdded+226