AI4Bharat IndicHeadlineGeneration (mr) dataset for language nlp.
from datasets import load_dataset
ds = load_dataset('ai4bharat/IndicHeadlineGeneration', 'mr', split='train', streaming=True)
for i, ex in enumerate(ds):
print(f"Headline: {ex['headline'][:60]}")
print(f"Article: {ex['text'][:80]}...\n")
if i >= 4: break| Field | Type | Description |
|---|---|---|
| text | string | Full Marathi news article text |
| headline | string | Corresponding headline for the article |