metadata
datasets:
- zedfum/long-summarization-persian
language:
- fa
pipeline_tag: summarization
Persian Long Text Summarization
This Model Accept 8K Tokens
⚡️ Quickstart
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)