xap commited on
Commit
4f96312
1 Parent(s): 0b93a16

Upload 6 files

Browse files
Danfe-NER.pdf ADDED
Binary file (582 kB). View file
 
DanfeNER-test-bio.txt ADDED
The diff for this file is too large to render. See raw diff
 
DanfeNER-test-char.txt ADDED
The diff for this file is too large to render. See raw diff
 
DanfeNER-train-bio.txt ADDED
The diff for this file is too large to render. See raw diff
 
DanfeNER-train-char.txt ADDED
The diff for this file is too large to render. See raw diff
 
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DanfeNER - Named Entity Recognition in Nepali Tweets
2
+ We have created the largest human annotated Named Entity Recognition (NER) data set for Nepali tweets available to date.
3
+
4
+ * DanfeNER covers five named entities - Person, Location, Organization, Event and Date
5
+ * We split the DanfeNER data set into DanfeNER-train and DanfeNER-test. These standard data sets, therefore, become the first benchmark data sets for evaluating tweets Nepali NER systems.
6
+ * We report a comprehensive evaluation of state-of-the-art Transformer models using these data sets.
7
+ * We also discuss the remaining challenges for discovering NEs for Nepali (see our paper below).
8
+
9
+
10
+ ## Data Set Stats
11
+ |Data |No. Tweets |Tokens |Avg. Len | LOC| ORG| PER| EVT| DAT|Total Entities|
12
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
13
+ | Train | 5,366| 92,425| 17.22| 923| 782| 1,061| 34| 663| 3,463|
14
+ |Test| 2,301| 39,133| 17.00| 389| 356| 444| 28| 286| 1,503|
15
+ |Total| 7,667| 131,558| 17.11| 1,312| 1,138| 1,505| 62| 949| 4,966|
16
+
17
+ ## Data Format
18
+ The DanfeNER data set is divided into train (DanfeNER-train) and test (DanfeNER-test) sets. Each data set has character level as well as token leven annotations. Please read [our paper](https://journals.flvc.org/FLAIRS/article/download/133384/137473) to get more information on this.
19
+ * Character Level
20
+ * Train: [DanfeNER-train-char.txt](DanfeNER-train-char.txt)
21
+ * Test: [DanfeNER-test-char.txt](DanfeNER-train-char.txt)
22
+
23
+ * Token Level
24
+ * Train: [DanfeNER-train-bio.txt](DanfeNER-train-bio.txt)
25
+ * Test: [DanfeNER-test-bio.txt](DanfeNER-train-bio.txt)
26
+
27
+
28
+ ## Our Results
29
+
30
+ We used different transformer modles namely: monolingual transformer models as well as multilingual transformer model for our experiment. Monolingual Nepali transformer models are trained from scratch using Nepali text while multilingual models are trained to combine other languages. All of the transformers model used are available on HuggingFace. The different transformer based modles used are as follows:
31
+ - NPVec1-BERT (baseline)
32
+ - NepaliBERT
33
+ - NepBERT
34
+ - DB-BERT
35
+ - BERT-bbmu
36
+
37
+ Model comparison on DanfeNER-test
38
+
39
+ |Model |Pre. |Rec. |F1|
40
+ | --- | --- | --- | --- |
41
+ |NPVec1-BERT|0.63 |0.62| 0.63|
42
+ |NepaliBERT|0.72| 0.69| 0.70|
43
+ |NepBERT|0.71 |0.69 |0.70|
44
+ |DB-BERT|**0.80** |**0.80** |**0.80**|
45
+ |BERT-bbmu|0.76 |0.74 |0.75|
46
+
47
+
48
+ Performance evaluation of the best performing model (DB-BERT) per named entities:
49
+ |Model|Pre. |Rec. |F1| Support|
50
+ | --- | --- | --- | --- |--- |
51
+ |PER|0.81|0.77|0.79|444|
52
+ |LOC|0.83|0.86|0.84|389|
53
+ |ORG|0.79|0.79|0.79|356|
54
+ |EVT|0.53|0.29|0.37|28|
55
+ |DAT|0.78|0.84|0.81|286|
56
+
57
+
58
+ # License
59
+ Non-commercial purposes only. For commercial usages, permissions must be taken from the authors and the relevant parties. See the contact address below.
60
+
61
+ Unless required by applicable law or agreed to in writing, software and data distributed here is on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
62
+
63
+ # Cite Our Work
64
+ If you use the EverestNER data set, please cite [our publication](https://journals.flvc.org/FLAIRS/article/download/133384/137473):
65
+ ```bibtex
66
+ @inproceedings{niraula2023danfener,
67
+ title={DanfeNER-Named Entity Recognition in Nepali Tweets},
68
+ author={Niraula, Nobal and Chapagain, Jeevan},
69
+ booktitle={The International FLAIRS Conference Proceedings},
70
+ volume={36},
71
+ year={2023}
72
+ }
73
+ ```
74
+
75
+ # Contact
76
+ Feel free to contact nobal @AT nowalab .DOT com and cjeevaniam @AT gmail .DOT com for any inquiries regarding this work.
77
+
78
+ # Acknowledgments
79
+ Nepali Shabdakosh - https://nepalishabdakosh.com