Downloads · 30 days
21
2% of all-time downloads
koki324/babylm-multilingual-gpt2-baseline
babylm-multilingual-gpt2-baseline is a text generation model from koki324. Use it when you need the model to write or continue text. It is set up for transformers.
This is a 97.7M-parameter GPT-2 causal language model trained from scratch on English, Dutch, and Chinese BabyBabel data for the BabyLM multilingual track. The three languages use equal sampling weights.
Downloads · 30 days
21
2% of all-time downloads
All-time downloads
1.1K
Public
Parameters
97.7M
3.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.3 GB · 100%
From the Hugging Face model README
This is a 97.7M-parameter GPT-2 causal language model trained from scratch on English, Dutch, and Chinese BabyBabel data for the BabyLM multilingual track. The three languages use equal sampling weights.
GPT2LMHeadModelfrom transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "koki324/babylm-multilingual-gpt2-baseline"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
inputs = tokenizer("Hello world", return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(output[0], skip_special_tokens=True))
The full evaluation output is included in evaluation_results.json. Selected
zero-shot results include:
| Task | Language | Accuracy |
|---|---|---|
| MultiBLiMP | English | 0.8468 |
| MultiBLiMP | Dutch | 0.9292 |
| BLiMP | English | 0.6835 |
| BLiMP-NL | Dutch | 0.7521 |
| ZhoBLiMP | Chinese | 0.7508 |
Inference-ready intermediate checkpoints are provided under checkpoints/ at
steps 759, 1518, 2277, 3036, 3795, 4554, 5313, 6072, 6831, and 7590. Optimizer,
scheduler, and RNG states are intentionally excluded from this public package.
This is a compact research baseline, not an instruction-tuned or safety-tuned assistant. Generated text may be inaccurate, biased, offensive, or repetitive. Do not use it for high-stakes decisions. Performance outside English, Dutch, and Chinese has not been established.
No model license has been selected yet. The repository owner must verify the training-data terms and choose an appropriate license before publication.