How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="IParraMartin/gpt2-medium-bLM100M")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("IParraMartin/gpt2-medium-bLM100M")
model = AutoModelForCausalLM.from_pretrained("IParraMartin/gpt2-medium-bLM100M")
Quick Links

GPT2 Medium trained on BabyLM 2026 (100M)

Downloads last month
286
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for IParraMartin/gpt2-medium-bLM100M

Finetuned
(193)
this model
Finetunes
1 model

Dataset used to train IParraMartin/gpt2-medium-bLM100M