Uploading model
Browse files- config.json +90 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +20 -0
- trainer_state.json +52 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/scratch/ba63/BERT_models/AraBART",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"MBartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.1,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"do_blenderbot_90_layernorm": false,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"early_stopping": true,
|
23 |
+
"encoder_attention_heads": 12,
|
24 |
+
"encoder_ffn_dim": 3072,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 6,
|
27 |
+
"eos_token_id": 2,
|
28 |
+
"extra_pos_embeddings": 2,
|
29 |
+
"force_bos_token_to_be_generated": false,
|
30 |
+
"forced_eos_token_id": 2,
|
31 |
+
"ged_id2label": {
|
32 |
+
"0": "<pad>",
|
33 |
+
"1": "DELETE",
|
34 |
+
"2": "MERGE-B",
|
35 |
+
"3": "MERGE-I",
|
36 |
+
"4": "REPLACE_M",
|
37 |
+
"5": "REPLACE_M+REPLACE_O",
|
38 |
+
"6": "REPLACE_O",
|
39 |
+
"7": "REPLACE_O+REPLACE_X",
|
40 |
+
"8": "REPLACE_P",
|
41 |
+
"9": "REPLACE_S",
|
42 |
+
"10": "REPLACE_X",
|
43 |
+
"11": "SPLIT",
|
44 |
+
"12": "UC"
|
45 |
+
},
|
46 |
+
"ged_label2id": {
|
47 |
+
"<pad>": 0,
|
48 |
+
"DELETE": 1,
|
49 |
+
"MERGE-B": 2,
|
50 |
+
"MERGE-I": 3,
|
51 |
+
"REPLACE_M": 4,
|
52 |
+
"REPLACE_M+REPLACE_O": 5,
|
53 |
+
"REPLACE_O": 6,
|
54 |
+
"REPLACE_O+REPLACE_X": 7,
|
55 |
+
"REPLACE_P": 8,
|
56 |
+
"REPLACE_S": 9,
|
57 |
+
"REPLACE_X": 10,
|
58 |
+
"SPLIT": 11,
|
59 |
+
"UC": 12
|
60 |
+
},
|
61 |
+
"ged_num_labels": 13,
|
62 |
+
"gradient_checkpointing": false,
|
63 |
+
"id2label": {
|
64 |
+
"0": "LABEL_0",
|
65 |
+
"1": "LABEL_1",
|
66 |
+
"2": "LABEL_2"
|
67 |
+
},
|
68 |
+
"init_std": 0.02,
|
69 |
+
"is_encoder_decoder": true,
|
70 |
+
"label2id": {
|
71 |
+
"LABEL_0": 0,
|
72 |
+
"LABEL_1": 1,
|
73 |
+
"LABEL_2": 2
|
74 |
+
},
|
75 |
+
"max_position_embeddings": 1024,
|
76 |
+
"model_type": "mbart",
|
77 |
+
"no_repeat_ngram_size": 3,
|
78 |
+
"normalize_before": true,
|
79 |
+
"normalize_embedding": true,
|
80 |
+
"num_beams": 4,
|
81 |
+
"num_hidden_layers": 6,
|
82 |
+
"pad_token_id": 1,
|
83 |
+
"scale_embedding": false,
|
84 |
+
"static_position_embeddings": false,
|
85 |
+
"tokenizer_class": "BarthezTokenizer",
|
86 |
+
"torch_dtype": "float32",
|
87 |
+
"transformers_version": "4.22.2",
|
88 |
+
"use_cache": true,
|
89 |
+
"vocab_size": 50002
|
90 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5eadbd894d7ba21e18ca53e118af20858b2e87a4d0b02f41d75e91e33919bb5f
|
3 |
+
size 557213999
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbb59d772bc9bb2da5dc4a73a00c61c0912c6d2596aad970fa2cd3d69898b245
|
3 |
+
size 1315170
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"__type": "AddedToken",
|
7 |
+
"content": "<mask>",
|
8 |
+
"lstrip": true,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"name_or_path": "/scratch/ba63/BERT_models/AraBART",
|
14 |
+
"pad_token": "<pad>",
|
15 |
+
"sep_token": "</s>",
|
16 |
+
"sp_model_kwargs": {},
|
17 |
+
"special_tokens_map_file": null,
|
18 |
+
"tokenizer_class": "BarthezTokenizer",
|
19 |
+
"unk_token": "<unk>"
|
20 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.942339373970346,
|
5 |
+
"global_step": 3000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.82,
|
12 |
+
"learning_rate": 4.5881383855024714e-05,
|
13 |
+
"loss": 0.5588,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.65,
|
18 |
+
"learning_rate": 4.1762767710049426e-05,
|
19 |
+
"loss": 0.4,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.47,
|
24 |
+
"learning_rate": 3.764415156507414e-05,
|
25 |
+
"loss": 0.3519,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 3.29,
|
30 |
+
"learning_rate": 3.352553542009885e-05,
|
31 |
+
"loss": 0.3179,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 4.12,
|
36 |
+
"learning_rate": 2.9406919275123562e-05,
|
37 |
+
"loss": 0.2926,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 4.94,
|
42 |
+
"learning_rate": 2.528830313014827e-05,
|
43 |
+
"loss": 0.2696,
|
44 |
+
"step": 3000
|
45 |
+
}
|
46 |
+
],
|
47 |
+
"max_steps": 6070,
|
48 |
+
"num_train_epochs": 10,
|
49 |
+
"total_flos": 5476078662709248.0,
|
50 |
+
"trial_name": null,
|
51 |
+
"trial_params": null
|
52 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4dec6137649289979d1287f943cb36decf4b9ea5a2719e27c9201c7c03e68923
|
3 |
+
size 3631
|