m3hrdadfi commited on
Commit
c079df3
1 Parent(s): 638641e

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: fa
3
+ license: apache-2.0
4
+ ---
5
+
6
+ # ALBERT Persian
7
+
8
+ A Lite BERT for Self-supervised Learning of Language Representations for the Persian Language
9
+
10
+ > میتونی بهش بگی برت_کوچولو
11
+
12
+ [ALBERT-Persian](https://github.com/m3hrdadfi/albert-persian) is the first attempt on ALBERT for the Persian Language. The model was trained based on Google's ALBERT BASE Version 2.0 over various writing styles from numerous subjects (e.g., scientific, novels, news) with more than 3.9M documents, 73M sentences, and 1.3B words, like the way we did for ParsBERT.
13
+
14
+ Please follow the [ALBERT-Persian](https://github.com/m3hrdadfi/albert-persian) repo for the latest information about previous and current models.
15
+
16
+ ## Persian Text Classification [DigiMag, Persian News]
17
+
18
+ The task target is labeling texts in a supervised manner in both existing datasets `DigiMag` and `Persian News`.
19
+
20
+
21
+ ### Persian News
22
+
23
+ A dataset of various news articles scraped from different online news agencies' websites. The total number of articles is 16,438, spread over eight different classes.
24
+
25
+ 1. Economic
26
+ 2. International
27
+ 3. Political
28
+ 4. Science Technology
29
+ 5. Cultural Art
30
+ 6. Sport
31
+ 7. Medical
32
+
33
+
34
+ | Label | # |
35
+ |:------------------:|:----:|
36
+ | Social | 2170 |
37
+ | Economic | 1564 |
38
+ | International | 1975 |
39
+ | Political | 2269 |
40
+ | Science Technology | 2436 |
41
+ | Cultural Art | 2558 |
42
+ | Sport | 1381 |
43
+ | Medical | 2085 |
44
+
45
+
46
+ **Download**
47
+ You can download the dataset from [here](https://drive.google.com/uc?id=1B6xotfXCcW9xS1mYSBQos7OCg0ratzKC)
48
+
49
+
50
+ ## Results
51
+
52
+ The following table summarizes the F1 score obtained by ParsBERT as compared to other models and architectures.
53
+
54
+ | Dataset | ALBERT-fa-base-v2 | ParsBERT-v1 | mBERT |
55
+ |:-----------------:|:-----------------:|:-----------:|:-----:|
56
+ | Persian News | 97.01 | 97.19 | 95.79 |
57
+
58
+
59
+
60
+ ### BibTeX entry and citation info
61
+
62
+ Please cite in publications as the following:
63
+
64
+ ```bibtex
65
+ @misc{ALBERTPersian,
66
+ author = {Mehrdad Farahani},
67
+ title = {ALBERT-Persian: A Lite BERT for Self-supervised Learning of Language Representations for the Persian Language},
68
+ year = {2020},
69
+ publisher = {GitHub},
70
+ journal = {GitHub repository},
71
+ howpublished = {\url{https://github.com/m3hrdadfi/albert-persian}},
72
+ }
73
+
74
+ @article{ParsBERT,
75
+ title={ParsBERT: Transformer-based Model for Persian Language Understanding},
76
+ author={Mehrdad Farahani, Mohammad Gharachorloo, Marzieh Farahani, Mohammad Manthouri},
77
+ journal={ArXiv},
78
+ year={2020},
79
+ volume={abs/2005.12515}
80
+ }
81
+ ```
82
+
83
+ ## Questions?
84
+ Post a Github issue on the [ALBERT-Persian](https://github.com/m3hrdadfi/albert-persian) repo.