Downloads · 30 days
0
anonym5035/Xpert-GPT-50M-final
Xpert-GPT-50M-final is a text generation model from anonym5035. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
XpertGPT is a sparse Mixture of Experts (MoE) language model designed for data-efficient pretraining under the BabyLM 2026 challenge (Strict-Small 10M track). It leverages Parallelized Multi-Scale Information Transmis…
Downloads · 30 days
0
Access
Public
Updated Jul 18, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py110 KB · 96%
From the Hugging Face model README
XpertGPT is a sparse Mixture of Experts (MoE) language model designed for data-efficient pretraining under the BabyLM 2026 challenge (Strict-Small 10M track). It leverages Parallelized Multi-Scale Information Transmission (MSIT) and Expert Choice Routing to maximize representational capacity within restricted token budgets.
This version implements corrected LayerNorms, redundant residual removal, and expanded sliding window sizes across parallel expert channels.
The four parallel MoE experts are configured with distinct sliding window attention constraints to capture varying context ranges (multi-scale sequence features):
16 tokens16 tokens4 tokens4 tokensThis model implements:
res3):
ln3):
ln3 is added after the Residual 2 Feed-Forward Network addition inside every MSITBranchBlock (global block and all expert blocks).ln_post_moe):
ln_post_moe is added after the Residual 4 MoE aggregation.Checkpoints are saved as separate git branches (revisions) on this repository:
chck_1M through chck_10M).chck_10M through chck_100M).main branch.main branch)import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"SRJ5035/correct_small_sw_16_16_4_4_norm_residuls_xpert_strcit_small",
revision="main",
trust_remote_code=True
).eval()
tokenizer = AutoTokenizer.from_pretrained(
"SRJ5035/correct_small_sw_16_16_4_4_norm_residuls_xpert_strcit_small",
revision="main"
)
chck_5M)model_5m = AutoModelForCausalLM.from_pretrained(
"SRJ5035/correct_small_sw_16_16_4_4_norm_residuls_xpert_strcit_small",
revision="chck_5M",
trust_remote_code=True
).eval()