File size: 1,012 Bytes
4830e28
 
827846e
2b6cbe6
4830e28
00d9f1a
4830e28
00d9f1a
 
 
2b6cbe6
 
827846e
 
 
 
 
6d93a97
4830e28
 
 
00d9f1a
 
827846e
4830e28
 
 
827846e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# dv-wave

This is my third version of a Dhivehi language model trained with
Google Research's [ELECTRA](https://github.com/google-research/electra).

Tokenization and pre-training CoLab: https://colab.research.google.com/drive/1ZJ3tU9MwyWj6UtQ-8G7QJKTn-hG1uQ9v?usp=sharing

Using SimpleTransformers to classify news https://colab.research.google.com/drive/1KnyQxRNWG_yVwms_x9MUAqFQVeMecTV7?usp=sharing

V1: similar performance to mBERT on news classification task after finetuning for 3 epochs (52%)

V2: fixed tokenizers do_lower_case=False and strip_accents=False to preserve vowel signs of Dhivehi

> 8-topic news classification score: 88.6% compared to mBERT: 51.8%

V3: trained longer on larger corpus (added OSCAR and Wikipedia)

> news classification score: 91.9%

## Corpus

Trained on @Sofwath's 307MB corpus of Dhivehi text: https://github.com/Sofwath/DhivehiDatasets

Plus [OSCAR](https://oscar-corpus.com/) and 2020-10-01 dump of dv.wikipedia.org

## Vocabulary

Included as vocab.txt in the upload