monsoon-nlp
commited on
Commit
•
1b9e8bd
1
Parent(s):
7280550
10k vocab
Browse files- README.md +11 -3
- config.json +9 -3
- pytorch_model.bin +2 -2
- tokenizer_config.json +1 -1
- vocab.txt +0 -0
README.md
CHANGED
@@ -14,8 +14,16 @@ the Maldivian News Classification task https://github.com/Sofwath/DhivehiDataset
|
|
14 |
|
15 |
- Start with MuRIL (similar to mBERT) with no Thaana vocabulary
|
16 |
- Based on PanLex dictionaries, attach 1,100 Dhivehi words to Malayalam or English embeddings
|
17 |
-
- Add remaining words and word-pieces from
|
18 |
-
- Continue BERT pretraining
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
CoLab notebook:
|
21 |
-
https://colab.research.google.com/drive/
|
|
|
14 |
|
15 |
- Start with MuRIL (similar to mBERT) with no Thaana vocabulary
|
16 |
- Based on PanLex dictionaries, attach 1,100 Dhivehi words to Malayalam or English embeddings
|
17 |
+
- Add remaining words and word-pieces from BertWordPieceTokenizer / vocab.txt
|
18 |
+
- Continue BERT pretraining
|
19 |
+
|
20 |
+
## Performance
|
21 |
+
|
22 |
+
- mBERT: 52%
|
23 |
+
- dv-wave (ELECTRA, 30k vocab): 89%
|
24 |
+
- dv-muril (10k vocab) before BERT pretraining step: 89.8%
|
25 |
+
- previous dv-muril (30k vocab): 90.7%
|
26 |
+
- dv-muril (10k vocab): 91.6%
|
27 |
|
28 |
CoLab notebook:
|
29 |
+
https://colab.research.google.com/drive/113o6vkLZRkm6OwhTHrvE0x6QPpavj0fn
|
config.json
CHANGED
@@ -2,17 +2,23 @@
|
|
2 |
"architectures": [
|
3 |
"BertForMaskedLM"
|
4 |
],
|
5 |
-
"embedding_size": 768,
|
6 |
-
"model_type": "bert",
|
7 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
|
|
13 |
"max_position_embeddings": 512,
|
|
|
14 |
"num_attention_heads": 12,
|
15 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
16 |
"type_vocab_size": 2,
|
17 |
-
"
|
|
|
18 |
}
|
|
|
2 |
"architectures": [
|
3 |
"BertForMaskedLM"
|
4 |
],
|
|
|
|
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"embedding_size": 768,
|
7 |
+
"gradient_checkpointing": false,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
13 |
+
"layer_norm_eps": 1e-12,
|
14 |
"max_position_embeddings": 512,
|
15 |
+
"model_type": "bert",
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 12,
|
18 |
+
"pad_token_id": 0,
|
19 |
+
"position_embedding_type": "absolute",
|
20 |
+
"transformers_version": "4.3.2",
|
21 |
"type_vocab_size": 2,
|
22 |
+
"use_cache": true,
|
23 |
+
"vocab_size": 206415
|
24 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04350f04dc6d404800d3eaa95b895305c80d0d5443e41a14c64bb1c7583bb6f4
|
3 |
+
size 979192515
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "lowercase": false, "
|
|
|
1 |
+
{"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "lowercase": false, "tokenizer_file": null}
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|