Downloads · 30 days
32
2% of all-time downloads
zedfum/arman-longformer-8k-finetuned-ensani
arman-longformer-8k-finetuned-ensani is a summarization model from zedfum. Use it when you need a shorter version of a longer text. It is set up for transformers.
Downloads · 30 days
32
2% of all-time downloads
All-time downloads
1.5K
Public
Parameters
285M
14.9 GB on disk
Likes
2
Public
Click a slice to open those files.
.bin2.3 GB · 66%
From the Hugging Face model README
Persian Long Text Summarization
This Model Accept 8K Tokens
from transformers import AutoTokenizer
from transformers import pipeline
summarizer = pipeline("summarization", model="zedfum/arman-longformer-8k-finetuned-ensani", tokenizer="zedfum/arman-longformer-8k-finetuned-ensani" , device=0)
text_to_summarize=""
summarizer(text_to_summarize, min_length=5, max_length=512, truncation=True)