File size: 2,075 Bytes
d5a7395
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
title: Hindi News Summarizer 🇮🇳
emoji: 📰
colorFrom: pink
colorTo: red
sdk: gradio
sdk_version: "4.28.1"
app_file: app.py
pinned: false
---

# Hindi News Summarizer 🇮🇳📰

This Space demonstrates an **abstractive Hindi text summarizer** fine-tuned on the **ILSUM 2024 Hindi dataset** using `ai4bharat/IndicBART`. It takes a Hindi article as input and generates a concise summary using a Transformer-based sequence-to-sequence model.

---

## 📌 Model Details

- **Base model**: [`ai4bharat/IndicBART`](https://huggingface.co/ai4bharat/IndicBART)
- **Task**: Abstractive Summarization (Hindi)
- **Trained on**: ILSUM 2024 (Hindi split)
- **Framework**: Transformers + Gradio

---

## 🚀 Usage

### 🔹 Input
Paste any **long-form Hindi article** (e.g., news, blog, report) into the textbox.

### 🔹 Output
A short, fluent **abstractive summary** in Hindi.

---

## 🧪 Try It Live

👉 Open the app:  
**[Hindi News Summarizer on Hugging Face Spaces](https://huggingface.co/spaces/adarshbhardwaj/indicbart-hindi-summarizer)**

---

## 🛠️ Tech Stack

- Python
- Hugging Face Transformers
- Gradio
- PyTorch
- ILSUM 2024 dataset

---

## 🧠 Sample Input/Output

**Input (Hindi Article):**
```
हिंदुस्तान में मानसून ने दस्तक दे दी है और कई इलाकों में भारी बारिश हो रही है जिससे जनजीवन प्रभावित हो रहा है...
```

**Generated Summary:**
```
मानसून की शुरुआत के साथ देश के कई हिस्सों में भारी बारिश से जनजीवन प्रभावित।
```

---

## 📦 How to Run Locally

```bash
git clone https://huggingface.co/spaces/Adarsh921/indicbart-hindi-summarizer
cd indicbart-hindi-summarizer
pip install -r requirements.txt
python app.py
```

---

## 🤝 Acknowledgements

- [AI4Bharat](https://ai4bharat.org/)
- [Gradio](https://gradio.app/)
- Hugging Face 🤗

---