End of training
Browse files- README.md +73 -0
- config.json +34 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: csebuetnlp/banglat5
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: bn_news_article_summarization
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# bn_news_article_summarization
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [csebuetnlp/banglat5](https://huggingface.co/csebuetnlp/banglat5) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 0.1868
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 0.001
|
37 |
+
- train_batch_size: 20
|
38 |
+
- eval_batch_size: 16
|
39 |
+
- seed: 42
|
40 |
+
- gradient_accumulation_steps: 8
|
41 |
+
- total_train_batch_size: 160
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: cosine_with_restarts
|
44 |
+
- lr_scheduler_warmup_steps: 100
|
45 |
+
- num_epochs: 15
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
51 |
+
| No log | 0.99 | 83 | 0.5499 |
|
52 |
+
| No log | 2.0 | 167 | 0.6308 |
|
53 |
+
| 16.0025 | 2.99 | 250 | 0.4921 |
|
54 |
+
| 16.0025 | 3.99 | 334 | 0.4755 |
|
55 |
+
| 0.5191 | 5.0 | 418 | 0.4795 |
|
56 |
+
| 0.5191 | 5.99 | 501 | 0.4719 |
|
57 |
+
| 0.5191 | 7.0 | 585 | 0.4575 |
|
58 |
+
| 0.4756 | 8.0 | 669 | 0.4345 |
|
59 |
+
| 0.4756 | 8.99 | 752 | 0.3438 |
|
60 |
+
| 0.4157 | 10.0 | 836 | 0.2664 |
|
61 |
+
| 0.4157 | 10.99 | 919 | 0.2263 |
|
62 |
+
| 0.2776 | 11.99 | 1003 | 0.2013 |
|
63 |
+
| 0.2776 | 13.0 | 1087 | 0.1899 |
|
64 |
+
| 0.2776 | 13.99 | 1170 | 0.1872 |
|
65 |
+
| 0.2269 | 14.89 | 1245 | 0.1868 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.39.3
|
71 |
+
- Pytorch 2.1.2
|
72 |
+
- Datasets 2.18.0
|
73 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "csebuetnlp/banglat5",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"gradient_checkpointing": false,
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": true,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"model_type": "mt5",
|
21 |
+
"num_decoder_layers": 12,
|
22 |
+
"num_heads": 12,
|
23 |
+
"num_layers": 12,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"relative_attention_max_distance": 128,
|
27 |
+
"relative_attention_num_buckets": 32,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"tokenizer_class": "T5Tokenizer",
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.39.3",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 32128
|
34 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.39.3"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bf5b7a20c7fe2c61cc08c75213919d19af32b7e64790dd65fcdbb7b80c4f71f
|
3 |
+
size 990345064
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:019ed3d5bfbd6333602141c7906bb97138b2355bae7fb9f3277265edcfeedc1a
|
3 |
+
size 4856
|