random_records = ds['train'].shuffle(seed=42).select(range(50)) # Adjust 'train' if needed
for i, record in enumerate(random_records):
article_text = ' '.join(record['article_text'].split()[:200]) # First… See the full description on the dataset page:
https://huggingface.co/datasets/vector-institute/nmb-plus-clean.