A Basic Perplexity Measure
Train on FineWeb for however much you'd like, and evaluate on any subset you'd like (probably should be more specific than this...)
from datasets import load_dataset
dataset = load_dataset(
"HuggingFaceFW/fineweb",
split="train",
streaming=True,
)