End of training
Browse files- README.md +81 -0
- config.json +191 -0
- generation_config.json +9 -0
- model.safetensors +3 -0
- runs/Sep12_17-18-54_b466747592f1/events.out.tfevents.1726161641.b466747592f1.418.0 +3 -0
- runs/Sep12_19-37-21_b466747592f1/events.out.tfevents.1726169869.b466747592f1.418.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: malmarjeh/mbert2mbert-arabic-text-summarization
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: resultmbert2mbert
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# resultmbert2mbert
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [malmarjeh/mbert2mbert-arabic-text-summarization](https://huggingface.co/malmarjeh/mbert2mbert-arabic-text-summarization) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.8701
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 32
|
39 |
+
- eval_batch_size: 16
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 500
|
44 |
+
- num_epochs: 10
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:------:|:-----:|:---------------:|
|
51 |
+
| 2.551 | 0.4263 | 500 | 1.0592 |
|
52 |
+
| 1.1939 | 0.8525 | 1000 | 0.9787 |
|
53 |
+
| 1.0979 | 1.2788 | 1500 | 0.9425 |
|
54 |
+
| 1.0436 | 1.7050 | 2000 | 0.9134 |
|
55 |
+
| 1.0132 | 2.1313 | 2500 | 0.9038 |
|
56 |
+
| 0.9645 | 2.5575 | 3000 | 0.8905 |
|
57 |
+
| 0.9608 | 2.9838 | 3500 | 0.8857 |
|
58 |
+
| 0.9526 | 3.4101 | 4000 | 0.8931 |
|
59 |
+
| 0.96 | 3.8363 | 4500 | 0.8838 |
|
60 |
+
| 0.9254 | 4.2626 | 5000 | 0.8804 |
|
61 |
+
| 0.9023 | 4.6888 | 5500 | 0.8724 |
|
62 |
+
| 0.884 | 5.1151 | 6000 | 0.8754 |
|
63 |
+
| 0.8496 | 5.5413 | 6500 | 0.8656 |
|
64 |
+
| 0.85 | 5.9676 | 7000 | 0.8653 |
|
65 |
+
| 0.8076 | 6.3939 | 7500 | 0.8668 |
|
66 |
+
| 0.8119 | 6.8201 | 8000 | 0.8655 |
|
67 |
+
| 0.7953 | 7.2464 | 8500 | 0.8676 |
|
68 |
+
| 0.7719 | 7.6726 | 9000 | 0.8656 |
|
69 |
+
| 0.7657 | 8.0989 | 9500 | 0.8710 |
|
70 |
+
| 0.7446 | 8.5251 | 10000 | 0.8694 |
|
71 |
+
| 0.7524 | 8.9514 | 10500 | 0.8658 |
|
72 |
+
| 0.729 | 9.3777 | 11000 | 0.8699 |
|
73 |
+
| 0.7338 | 9.8039 | 11500 | 0.8701 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.44.2
|
79 |
+
- Pytorch 2.4.0+cu121
|
80 |
+
- Datasets 3.0.0
|
81 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "malmarjeh/mbert2mbert-arabic-text-summarization",
|
3 |
+
"architectures": [
|
4 |
+
"EncoderDecoderModel"
|
5 |
+
],
|
6 |
+
"decoder": {
|
7 |
+
"_name_or_path": "bert-base-multilingual-cased",
|
8 |
+
"add_cross_attention": true,
|
9 |
+
"architectures": [
|
10 |
+
"BertForMaskedLM"
|
11 |
+
],
|
12 |
+
"attention_probs_dropout_prob": 0.1,
|
13 |
+
"bad_words_ids": null,
|
14 |
+
"begin_suppress_tokens": null,
|
15 |
+
"bos_token_id": null,
|
16 |
+
"chunk_size_feed_forward": 0,
|
17 |
+
"classifier_dropout": null,
|
18 |
+
"cross_attention_hidden_size": null,
|
19 |
+
"decoder_start_token_id": null,
|
20 |
+
"directionality": "bidi",
|
21 |
+
"diversity_penalty": 0.0,
|
22 |
+
"do_sample": false,
|
23 |
+
"early_stopping": false,
|
24 |
+
"encoder_no_repeat_ngram_size": 0,
|
25 |
+
"eos_token_id": null,
|
26 |
+
"exponential_decay_length_penalty": null,
|
27 |
+
"finetuning_task": null,
|
28 |
+
"forced_bos_token_id": null,
|
29 |
+
"forced_eos_token_id": null,
|
30 |
+
"gradient_checkpointing": false,
|
31 |
+
"hidden_act": "gelu",
|
32 |
+
"hidden_dropout_prob": 0.1,
|
33 |
+
"hidden_size": 768,
|
34 |
+
"id2label": {
|
35 |
+
"0": "LABEL_0",
|
36 |
+
"1": "LABEL_1"
|
37 |
+
},
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"intermediate_size": 3072,
|
40 |
+
"is_decoder": true,
|
41 |
+
"is_encoder_decoder": false,
|
42 |
+
"label2id": {
|
43 |
+
"LABEL_0": 0,
|
44 |
+
"LABEL_1": 1
|
45 |
+
},
|
46 |
+
"layer_norm_eps": 1e-12,
|
47 |
+
"length_penalty": 1.0,
|
48 |
+
"max_length": 20,
|
49 |
+
"max_position_embeddings": 512,
|
50 |
+
"min_length": 0,
|
51 |
+
"model_type": "bert",
|
52 |
+
"no_repeat_ngram_size": 0,
|
53 |
+
"num_attention_heads": 12,
|
54 |
+
"num_beam_groups": 1,
|
55 |
+
"num_beams": 1,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"num_return_sequences": 1,
|
58 |
+
"output_attentions": false,
|
59 |
+
"output_hidden_states": false,
|
60 |
+
"output_scores": false,
|
61 |
+
"pad_token_id": 0,
|
62 |
+
"pooler_fc_size": 768,
|
63 |
+
"pooler_num_attention_heads": 12,
|
64 |
+
"pooler_num_fc_layers": 3,
|
65 |
+
"pooler_size_per_head": 128,
|
66 |
+
"pooler_type": "first_token_transform",
|
67 |
+
"position_embedding_type": "absolute",
|
68 |
+
"prefix": null,
|
69 |
+
"problem_type": null,
|
70 |
+
"pruned_heads": {},
|
71 |
+
"remove_invalid_values": false,
|
72 |
+
"repetition_penalty": 1.0,
|
73 |
+
"return_dict": true,
|
74 |
+
"return_dict_in_generate": false,
|
75 |
+
"sep_token_id": null,
|
76 |
+
"suppress_tokens": null,
|
77 |
+
"task_specific_params": null,
|
78 |
+
"temperature": 1.0,
|
79 |
+
"tf_legacy_loss": false,
|
80 |
+
"tie_encoder_decoder": false,
|
81 |
+
"tie_word_embeddings": true,
|
82 |
+
"tokenizer_class": null,
|
83 |
+
"top_k": 50,
|
84 |
+
"top_p": 1.0,
|
85 |
+
"torch_dtype": null,
|
86 |
+
"torchscript": false,
|
87 |
+
"type_vocab_size": 2,
|
88 |
+
"typical_p": 1.0,
|
89 |
+
"use_bfloat16": false,
|
90 |
+
"use_cache": true,
|
91 |
+
"vocab_size": 119547
|
92 |
+
},
|
93 |
+
"decoder_start_token_id": 101,
|
94 |
+
"encoder": {
|
95 |
+
"_name_or_path": "bert-base-multilingual-cased",
|
96 |
+
"add_cross_attention": false,
|
97 |
+
"architectures": [
|
98 |
+
"BertForMaskedLM"
|
99 |
+
],
|
100 |
+
"attention_probs_dropout_prob": 0.1,
|
101 |
+
"bad_words_ids": null,
|
102 |
+
"begin_suppress_tokens": null,
|
103 |
+
"bos_token_id": null,
|
104 |
+
"chunk_size_feed_forward": 0,
|
105 |
+
"classifier_dropout": null,
|
106 |
+
"cross_attention_hidden_size": null,
|
107 |
+
"decoder_start_token_id": null,
|
108 |
+
"directionality": "bidi",
|
109 |
+
"diversity_penalty": 0.0,
|
110 |
+
"do_sample": false,
|
111 |
+
"early_stopping": false,
|
112 |
+
"encoder_no_repeat_ngram_size": 0,
|
113 |
+
"eos_token_id": null,
|
114 |
+
"exponential_decay_length_penalty": null,
|
115 |
+
"finetuning_task": null,
|
116 |
+
"forced_bos_token_id": null,
|
117 |
+
"forced_eos_token_id": null,
|
118 |
+
"gradient_checkpointing": false,
|
119 |
+
"hidden_act": "gelu",
|
120 |
+
"hidden_dropout_prob": 0.1,
|
121 |
+
"hidden_size": 768,
|
122 |
+
"id2label": {
|
123 |
+
"0": "LABEL_0",
|
124 |
+
"1": "LABEL_1"
|
125 |
+
},
|
126 |
+
"initializer_range": 0.02,
|
127 |
+
"intermediate_size": 3072,
|
128 |
+
"is_decoder": false,
|
129 |
+
"is_encoder_decoder": false,
|
130 |
+
"label2id": {
|
131 |
+
"LABEL_0": 0,
|
132 |
+
"LABEL_1": 1
|
133 |
+
},
|
134 |
+
"layer_norm_eps": 1e-12,
|
135 |
+
"length_penalty": 1.0,
|
136 |
+
"max_length": 20,
|
137 |
+
"max_position_embeddings": 512,
|
138 |
+
"min_length": 0,
|
139 |
+
"model_type": "bert",
|
140 |
+
"no_repeat_ngram_size": 0,
|
141 |
+
"num_attention_heads": 12,
|
142 |
+
"num_beam_groups": 1,
|
143 |
+
"num_beams": 1,
|
144 |
+
"num_hidden_layers": 12,
|
145 |
+
"num_return_sequences": 1,
|
146 |
+
"output_attentions": false,
|
147 |
+
"output_hidden_states": false,
|
148 |
+
"output_scores": false,
|
149 |
+
"pad_token_id": 0,
|
150 |
+
"pooler_fc_size": 768,
|
151 |
+
"pooler_num_attention_heads": 12,
|
152 |
+
"pooler_num_fc_layers": 3,
|
153 |
+
"pooler_size_per_head": 128,
|
154 |
+
"pooler_type": "first_token_transform",
|
155 |
+
"position_embedding_type": "absolute",
|
156 |
+
"prefix": null,
|
157 |
+
"problem_type": null,
|
158 |
+
"pruned_heads": {},
|
159 |
+
"remove_invalid_values": false,
|
160 |
+
"repetition_penalty": 1.0,
|
161 |
+
"return_dict": true,
|
162 |
+
"return_dict_in_generate": false,
|
163 |
+
"sep_token_id": null,
|
164 |
+
"suppress_tokens": null,
|
165 |
+
"task_specific_params": null,
|
166 |
+
"temperature": 1.0,
|
167 |
+
"tf_legacy_loss": false,
|
168 |
+
"tie_encoder_decoder": false,
|
169 |
+
"tie_word_embeddings": true,
|
170 |
+
"tokenizer_class": null,
|
171 |
+
"top_k": 50,
|
172 |
+
"top_p": 1.0,
|
173 |
+
"torch_dtype": null,
|
174 |
+
"torchscript": false,
|
175 |
+
"type_vocab_size": 2,
|
176 |
+
"typical_p": 1.0,
|
177 |
+
"use_bfloat16": false,
|
178 |
+
"use_cache": true,
|
179 |
+
"vocab_size": 119547
|
180 |
+
},
|
181 |
+
"eos_token_id": 102,
|
182 |
+
"is_encoder_decoder": true,
|
183 |
+
"max_length": 42,
|
184 |
+
"min_length": 5,
|
185 |
+
"model_type": "encoder-decoder",
|
186 |
+
"pad_token_id": 0,
|
187 |
+
"tie_encoder_decoder": true,
|
188 |
+
"torch_dtype": "float32",
|
189 |
+
"transformers_version": "4.44.2",
|
190 |
+
"vocab_size": 119547
|
191 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 101,
|
4 |
+
"eos_token_id": 102,
|
5 |
+
"max_length": 42,
|
6 |
+
"min_length": 5,
|
7 |
+
"pad_token_id": 0,
|
8 |
+
"transformers_version": "4.44.2"
|
9 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfbc9e21ee598e230616a236fcad734a7b9e4db44cfbfa0e1104e41aace2d3f0
|
3 |
+
size 828562332
|
runs/Sep12_17-18-54_b466747592f1/events.out.tfevents.1726161641.b466747592f1.418.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9703abb444e1fe110b97dc198e7622910bf97daacbd95e2c15523229ec60d390
|
3 |
+
size 13262
|
runs/Sep12_19-37-21_b466747592f1/events.out.tfevents.1726169869.b466747592f1.418.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c645c88825b5e2e2d88e51d5150856692637778c1617fa35c10602282d4de23f
|
3 |
+
size 17629
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": false,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 512,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81a06adf4c0e2e1e19e276808b3692ac8ca6e152eb4ef4759ce4d7561ae98618
|
3 |
+
size 5176
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|