language | license |
---|---|
fa |
apache-2.0 |
A Transformer-based Model for Persian Language Understanding
We reconstructed the vocabulary and fine-tuned the ParsBERT v1.1 on the new Persian corpora in order to provide some functionalities for using ParsBERT in other scopes! Please follow the ParsBERT repo for the latest information about previous and current models.
It aims to classify text, such as comments, based on their emotional bias. We tested three well-known datasets for this task: Digikala
user comments, SnappFood
user comments, and DeepSentiPers
in two binary-form and multi-form types.
Digikala user comments provided by Open Data Mining Program (ODMP). This dataset contains 62,321 user comments with three labels:
Label | # |
---|---|
no_idea | 10394 |
not_recommended | 15885 |
recommended | 36042 |
Download You can download the dataset from here
The following table summarizes the F1 score obtained by ParsBERT as compared to other models and architectures.
Dataset | ParsBERT v2 | ParsBERT v1 | mBERT | DeepSentiPers |
---|---|---|---|---|
Digikala User Comments | 81.72 | 81.74* | 80.74 | - |
Task | Notebook |
---|---|
Sentiment Analysis |
Please cite in publications as the following:
@article{ParsBERT,
title={ParsBERT: Transformer-based Model for Persian Language Understanding},
author={Mehrdad Farahani, Mohammad Gharachorloo, Marzieh Farahani, Mohammad Manthouri},
journal={ArXiv},
year={2020},
volume={abs/2005.12515}
}
Post a Github issue on the ParsBERT Issues repo.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型