Adarsh921 commited on
Commit
d5a7395
·
verified ·
1 Parent(s): 09ae79c

Upload README.md

Browse files

uploaded readme file

Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Hindi News Summarizer 🇮🇳
3
+ emoji: 📰
4
+ colorFrom: pink
5
+ colorTo: red
6
+ sdk: gradio
7
+ sdk_version: "4.28.1"
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ # Hindi News Summarizer 🇮🇳📰
13
+
14
+ 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.
15
+
16
+ ---
17
+
18
+ ## 📌 Model Details
19
+
20
+ - **Base model**: [`ai4bharat/IndicBART`](https://huggingface.co/ai4bharat/IndicBART)
21
+ - **Task**: Abstractive Summarization (Hindi)
22
+ - **Trained on**: ILSUM 2024 (Hindi split)
23
+ - **Framework**: Transformers + Gradio
24
+
25
+ ---
26
+
27
+ ## 🚀 Usage
28
+
29
+ ### 🔹 Input
30
+ Paste any **long-form Hindi article** (e.g., news, blog, report) into the textbox.
31
+
32
+ ### 🔹 Output
33
+ A short, fluent **abstractive summary** in Hindi.
34
+
35
+ ---
36
+
37
+ ## 🧪 Try It Live
38
+
39
+ 👉 Open the app:
40
+ **[Hindi News Summarizer on Hugging Face Spaces](https://huggingface.co/spaces/adarshbhardwaj/indicbart-hindi-summarizer)**
41
+
42
+ ---
43
+
44
+ ## 🛠️ Tech Stack
45
+
46
+ - Python
47
+ - Hugging Face Transformers
48
+ - Gradio
49
+ - PyTorch
50
+ - ILSUM 2024 dataset
51
+
52
+ ---
53
+
54
+ ## 🧠 Sample Input/Output
55
+
56
+ **Input (Hindi Article):**
57
+ ```
58
+ हिंदुस्तान में मानसून ने दस्तक दे दी है और कई इलाकों में भारी बारिश हो रही है जिससे जनजीवन प्रभावित हो रहा है...
59
+ ```
60
+
61
+ **Generated Summary:**
62
+ ```
63
+ मानसून की शुरुआत के साथ देश के कई हिस्सों में भारी बारिश से जनजीवन प्रभावित।
64
+ ```
65
+
66
+ ---
67
+
68
+ ## 📦 How to Run Locally
69
+
70
+ ```bash
71
+ git clone https://huggingface.co/spaces/Adarsh921/indicbart-hindi-summarizer
72
+ cd indicbart-hindi-summarizer
73
+ pip install -r requirements.txt
74
+ python app.py
75
+ ```
76
+
77
+ ---
78
+
79
+ ## 🤝 Acknowledgements
80
+
81
+ - [AI4Bharat](https://ai4bharat.org/)
82
+ - [Gradio](https://gradio.app/)
83
+ - Hugging Face 🤗
84
+
85
+ ---