T0KII commited on
Commit
ebd84c4
·
verified ·
1 Parent(s): 0540c64

MASRIBERTv2 — continued pretraining (ppl=15.87)

Browse files
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "dtype": "float32",
11
+ "eos_token_id": null,
12
+ "gradient_checkpointing": false,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "is_decoder": false,
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "bert",
22
+ "num_attention_heads": 12,
23
+ "num_hidden_layers": 12,
24
+ "pad_token_id": 0,
25
+ "pooler_fc_size": 768,
26
+ "pooler_num_attention_heads": 12,
27
+ "pooler_num_fc_layers": 3,
28
+ "pooler_size_per_head": 128,
29
+ "pooler_type": "first_token_transform",
30
+ "position_embedding_type": "absolute",
31
+ "tie_word_embeddings": false,
32
+ "transformers_version": "5.2.0",
33
+ "type_vocab_size": 2,
34
+ "use_cache": false,
35
+ "vocab_size": 100000
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3abbb0b44c52db25c0b965ece5707dbc709d5d01caee95aa78b18a2b25e69fc2
3
+ size 959395416
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 1000000000000000019884624838656,
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d55404c70265aef200d4d9d4931ded1d307e224fa4fec3835f40df1d53a7f0ff
3
+ size 5201
training_metadata.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "T0KII/MASRIBERT",
3
+ "grandparent_model": "UBC-NLP/MARBERTv2",
4
+ "version": "v2",
5
+ "new_data_sources": [
6
+ "faisalq/EFC-mini",
7
+ "MBZUAI-Paris/Egyptian-SFT-Mixture"
8
+ ],
9
+ "v1_data_sources": [
10
+ "hard",
11
+ "ar_res_reviews",
12
+ "arbml/TEAD",
13
+ "AOC_youm7_comments",
14
+ "RestOf_AOC_youm7_comments",
15
+ "Egyptian_Tweets",
16
+ "TaghreedT",
17
+ "TE_Telecom",
18
+ "TE_Tweets"
19
+ ],
20
+ "block_size": 64,
21
+ "mlm_probability": 0.2,
22
+ "whole_word_mask": true,
23
+ "learning_rate": 2e-05,
24
+ "epochs": 2,
25
+ "effective_batch_size": 128,
26
+ "train_blocks": 1849729,
27
+ "eval_blocks": 18685,
28
+ "final_eval_loss": 2.764298439025879,
29
+ "final_perplexity": 15.867903782671096,
30
+ "intended_downstream_tasks": [
31
+ "sentiment_analysis",
32
+ "emotion_classification",
33
+ "sarcasm_detection"
34
+ ]
35
+ }