ambermanijha commited on
Commit
ccb14ed
·
verified ·
1 Parent(s): 7701f44

Create README.md

Browse files

## Citation

```bibtex
@misc {jha2025neplaismallt5,
title={NepLai-smallT5: Nepali Summarization with T5‑small},
author={Jha, Ambermani},
year={2025},
howpublished={\url{https://huggingface.co/ambermanijha/Model_Neplai-smallT5_Summarization}}
}

Files changed (1) hide show
  1. README.md +27 -0
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: ne
3
+ license: apache-2.0 # change if you used a different license
4
+ tags:
5
+ - summarization
6
+ - t5
7
+ - nepali
8
+ pipeline_tag: summarization
9
+ ---
10
+
11
+ # Model_Neplai-smallT5_Summarization
12
+
13
+ A T5‑small model fine‑tuned from scratch on Nepali summarization data.
14
+ It consumes a Nepali document and outputs a short Nepali summary.
15
+
16
+ ## Usage
17
+
18
+ ```python
19
+ from transformers import pipeline
20
+ summarizer = pipeline(
21
+ "summarization",
22
+ model="ambermanijha/Model_Neplai-smallT5_Summarization",
23
+ tokenizer="ambermanijha/Model_Neplai-smallT5_Summarization"
24
+ )
25
+
26
+ text = "नेपालमा लामो दस्तावेज …"
27
+ print(summarizer(text, max_length=64, min_length=16)[0]["summary_text"])