ParsBERT: Transformer-based Model for Persian Language Understanding

Mehrdad Farahani, Mohammad Gharachorloo, Marzieh Farahani, Mohammad Manthouri
5/26/2020
cs.CL

Official code: hooshvare/parsbert (433 stars, Apache-2.0, last commit 2023-06-12).

Abstract

The surge of pre-trained language models has begun a new era in the field of Natural Language Processing (NLP) by allowing us to build powerful language models. Among these models, Transformer-based models such as BERT have become increasingly popular due to their state-of-the-art performance. However, these models are usually focused on English, leaving other languages to multilingual models with limited resources. This paper proposes a monolingual BERT for the Persian language (ParsBERT), which shows its state-of-the-art performance compared to other architectures and multilingual models. Also, since the amount of data available for NLP tasks in Persian is very restricted, a massive dataset for different NLP tasks as well as pre-training the model is composed. ParsBERT obtains higher scores in all datasets, including existing ones as well as composed ones and improves the state-of-the-art performance by outperforming both multilingual BERT and other prior works in Sentiment Analysis, Text Classification and Named Entity Recognition tasks.

View on arXivView PDF

Code Implementations(1)

hooshvare/parsbertOfficial100%
Apache-2.0

🤗 ParsBERT: Transformer-based Model for Persian Language Understanding

43341Python, Jupyter NotebookMay 26, 20203 years agoApache-2.0
bertdownstream-taskslanguage-modelsnamed-entity-recognitionner+9 more

Similar Papers

Cite this paper

@article{farahani2020parsbert,
  title  = {ParsBERT: Transformer-based Model for Persian Language Understanding},
  author = {Mehrdad Farahani and Mohammad Gharachorloo and Marzieh Farahani and Mohammad Manthouri},
  year   = {2020},
  eprint = {2005.12515},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.12515}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.12515.svg)](https://codeofpaper.com/paper/2005.12515)

Discussion