Banaxi-Tech/slmoe-test
063
SLMoE Test - 100%
This model has been released as https://huggingface.co/BananaMind/BananaMind-2-SLMoE
This is the 100% checkpoint of an experimental sequence-routed base language model. It is not instruction tuned.
Architecture
The router reads only the first 32 valid tokens and makes one global top-13 decision. Those expert identities are reused in every layer and stored in the KV cache for the complete generated response. Routing does not change per token. During pretraining, one packed 4,096-token sequence is the routing unit, and loss on its routing prefix is masked to prevent future-token leakage.
Training
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Banaxi-Tech/slmoe-test"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)