Downloads · 30 days
14
3% of all-time downloads
NeTS-lab/babylm-mop-100m-gpt2
babylm-mop-100m-gpt2 is a machine learning model from NeTS-lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a GPT-2 language model trained as part of the BabyLM 2025 Challenge on the strict small track, using the innovative MorPiece tokenizer. The model demonstrates how morphologically-aware tokenization can improve…
Downloads · 30 days
14
3% of all-time downloads
All-time downloads
500
Public
Repo size
13.1 GB
Likes
0
Public
Click a slice to open those files.
.bin467 MB · 80%
From the Hugging Face model README
This is a GPT-2 language model trained as part of the BabyLM 2025 Challenge on the strict small track, using the innovative MorPiece tokenizer. The model demonstrates how morphologically-aware tokenization can improve language modeling performance when training on limited data (10M words).
This model uses the MorPiece tokenizer, a split-based tokenizer (cristianochesi/morpiece)
The model was trained on the BabyLM 2025 strict track dataset, which includes:
The model was trained following BabyLM 2025 Challenge protocols:
from transformers import GPT2LMHeadModel, GPT2Tokenizer
# Load model and tokenizer
model = GPT2LMHeadModel.from_pretrained("NeTS-lab/babylm-mop-100m-gpt2")
tokenizer = GPT2Tokenizer.from_pretrained("NeTS-lab/babylm-mop-100m-gpt2")
# Generate text
input_text = "The child played with"
inputs = tokenizer.encode(input_text, return_tensors="pt")
outputs = model.generate(inputs, max_length=50, do_sample=True, temperature=0.8)
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(generated_text)
{
"activation_function": "gelu_new",
"architectures": ["GPT2LMHeadModel"],
"attn_pdrop": 0.1,
"embd_pdrop": 0.1,
"layer_norm_epsilon": 1e-05,
"n_ctx": 1024,
"n_embd": 768,
"n_head": 12,
"n_layer": 12,
"vocab_size": 40148
}
If you use this model in your research, please cite:
@misc{babylm2025-gpt2-morpiece,
title={undereview},
author={[Your Name] & NeTS Lab},
year={2025},
url={https://huggingface.co/NeTS-lab/babylm-mop-100m-gpt2}
}
Also consider citing the original BabyLM Challenge and MorPiece tokenizer:
@misc{morpiece2024,
title={MorPiece: Morphologically-aware Piece Tokenization},
author={C[Your Name] & NeTS Lab},
year={2024},
url={https://github.com/cristianochesi/morpiece}
}
For questions about this model or the training process, please [[email protected]].
This model was developed as part of research into data-efficient language modeling and morphologically-aware tokenization techniques.