Downloads · 30 days
51
4% of all-time downloads
JimK28/gpt-bert-entmax-graded
gpt-bert-entmax-graded is a fill-mask model from JimK28. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as mit.
BabyLM 2026 Strict-Small submission (NTUA). A GPT-BERT hybrid language model: gptbertmixed — hidden 384, 12 layers, 6 heads, alpha-entmax attention with per-layer alpha schedule [1.25, 1.25, 1.25, 1.25, 1.75, 1.75, 1.…
Downloads · 30 days
51
4% of all-time downloads
All-time downloads
1.2K
Public
Repo size
2.4 GB
Likes
0
Public
Click a slice to open those files.
.bin120 MB · 99%
From the Hugging Face model README
BabyLM 2026 Strict-Small submission (NTUA). A GPT-BERT hybrid language model: gpt_bert_mixed — hidden 384, 12 layers, 6 heads, alpha-entmax attention with per-layer alpha schedule [1.25, 1.25, 1.25, 1.25, 1.75, 1.75, 1.75, 1.75, 1.5, 1.5, 1.5, 1.5].
BabyLM-community/BabyLM-2026-Strict-Small (≤100M words, counting
repeated exposures, per CfP §4.2). Uniform ~10 passes via bin-packing (each segment
once per epoch).mntp backend.chck_1M … chck_100M
(words seen), per the BabyLM checkpoint convention.from transformers import AutoTokenizer, AutoModelForMaskedLM
tok = AutoTokenizer.from_pretrained("JimK28/gpt-bert-entmax-graded", trust_remote_code=True)
model = AutoModelForMaskedLM.from_pretrained("JimK28/gpt-bert-entmax-graded", trust_remote_code=True)
Custom architecture — trust_remote_code=True is required (config auto_map points at
modeling_gpt_bert).
Requires pip install entmax (entmax attention). Trained with the NTUA BabyLM pipeline
(https://github.com/emhadzi/BabyLM).