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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: t5-small
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: t5-small-squad-qag
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# t5-small-squad-qag
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.5660
|
| 20 |
+
|
| 21 |
+
## Model description
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training and evaluation data
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training procedure
|
| 34 |
+
|
| 35 |
+
### Training hyperparameters
|
| 36 |
+
|
| 37 |
+
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 3e-05
|
| 39 |
+
- train_batch_size: 8
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
+
- seed: 42
|
| 42 |
+
- gradient_accumulation_steps: 4
|
| 43 |
+
- total_train_batch_size: 32
|
| 44 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 45 |
+
- lr_scheduler_type: linear
|
| 46 |
+
- num_epochs: 100
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 51 |
+
|:-------------:|:-------:|:----:|:---------------:|
|
| 52 |
+
| 13.5664 | 0.5714 | 1 | 14.0489 |
|
| 53 |
+
| 18.6422 | 1.5714 | 2 | 13.0300 |
|
| 54 |
+
| 17.8287 | 2.5714 | 3 | 12.0308 |
|
| 55 |
+
| 17.0632 | 3.5714 | 4 | 11.0754 |
|
| 56 |
+
| 16.1516 | 4.5714 | 5 | 10.1440 |
|
| 57 |
+
| 14.6881 | 5.5714 | 6 | 9.1360 |
|
| 58 |
+
| 14.226 | 6.5714 | 7 | 8.1785 |
|
| 59 |
+
| 12.7129 | 7.5714 | 8 | 7.4610 |
|
| 60 |
+
| 11.9365 | 8.5714 | 9 | 6.7690 |
|
| 61 |
+
| 10.6449 | 9.5714 | 10 | 6.0893 |
|
| 62 |
+
| 9.8716 | 10.5714 | 11 | 5.4196 |
|
| 63 |
+
| 9.1578 | 11.5714 | 12 | 4.7783 |
|
| 64 |
+
| 9.1422 | 12.5714 | 13 | 4.1559 |
|
| 65 |
+
| 8.0235 | 13.5714 | 14 | 3.5585 |
|
| 66 |
+
| 7.2521 | 14.5714 | 15 | 3.0355 |
|
| 67 |
+
| 6.9468 | 15.5714 | 16 | 2.5595 |
|
| 68 |
+
| 6.3573 | 16.5714 | 17 | 2.1188 |
|
| 69 |
+
| 6.0266 | 17.5714 | 18 | 1.7322 |
|
| 70 |
+
| 5.9024 | 18.5714 | 19 | 1.3607 |
|
| 71 |
+
| 4.5874 | 19.5714 | 20 | 1.0799 |
|
| 72 |
+
| 4.7103 | 20.5714 | 21 | 0.9026 |
|
| 73 |
+
| 4.5861 | 21.5714 | 22 | 0.8025 |
|
| 74 |
+
| 4.1161 | 22.5714 | 23 | 0.7488 |
|
| 75 |
+
| 3.805 | 23.5714 | 24 | 0.7257 |
|
| 76 |
+
| 3.3272 | 24.5714 | 25 | 0.7164 |
|
| 77 |
+
| 3.2706 | 25.5714 | 26 | 0.7117 |
|
| 78 |
+
| 3.368 | 26.5714 | 27 | 0.7095 |
|
| 79 |
+
| 3.3499 | 27.5714 | 28 | 0.7062 |
|
| 80 |
+
| 2.9882 | 28.5714 | 29 | 0.7011 |
|
| 81 |
+
| 2.798 | 29.5714 | 30 | 0.6939 |
|
| 82 |
+
| 2.7807 | 30.5714 | 31 | 0.6856 |
|
| 83 |
+
| 2.6064 | 31.5714 | 32 | 0.6774 |
|
| 84 |
+
| 2.537 | 32.5714 | 33 | 0.6680 |
|
| 85 |
+
| 2.5005 | 33.5714 | 34 | 0.6602 |
|
| 86 |
+
| 2.4666 | 34.5714 | 35 | 0.6530 |
|
| 87 |
+
| 2.919 | 35.5714 | 36 | 0.6471 |
|
| 88 |
+
| 2.3748 | 36.5714 | 37 | 0.6416 |
|
| 89 |
+
| 2.3416 | 37.5714 | 38 | 0.6363 |
|
| 90 |
+
| 2.3233 | 38.5714 | 39 | 0.6312 |
|
| 91 |
+
| 2.2107 | 39.5714 | 40 | 0.6265 |
|
| 92 |
+
| 2.2191 | 40.5714 | 41 | 0.6220 |
|
| 93 |
+
| 2.1931 | 41.5714 | 42 | 0.6178 |
|
| 94 |
+
| 2.0958 | 42.5714 | 43 | 0.6136 |
|
| 95 |
+
| 1.9957 | 43.5714 | 44 | 0.6095 |
|
| 96 |
+
| 2.0614 | 44.5714 | 45 | 0.6055 |
|
| 97 |
+
| 2.0534 | 45.5714 | 46 | 0.6019 |
|
| 98 |
+
| 2.0221 | 46.5714 | 47 | 0.5987 |
|
| 99 |
+
| 1.8483 | 47.5714 | 48 | 0.5957 |
|
| 100 |
+
| 1.9068 | 48.5714 | 49 | 0.5929 |
|
| 101 |
+
| 1.9266 | 49.5714 | 50 | 0.5903 |
|
| 102 |
+
| 1.8266 | 50.5714 | 51 | 0.5882 |
|
| 103 |
+
| 1.7679 | 51.5714 | 52 | 0.5864 |
|
| 104 |
+
| 1.7766 | 52.5714 | 53 | 0.5851 |
|
| 105 |
+
| 1.7592 | 53.5714 | 54 | 0.5840 |
|
| 106 |
+
| 1.8102 | 54.5714 | 55 | 0.5832 |
|
| 107 |
+
| 1.6658 | 55.5714 | 56 | 0.5826 |
|
| 108 |
+
| 1.6261 | 56.5714 | 57 | 0.5820 |
|
| 109 |
+
| 1.6287 | 57.5714 | 58 | 0.5816 |
|
| 110 |
+
| 1.6453 | 58.5714 | 59 | 0.5814 |
|
| 111 |
+
| 1.5957 | 59.5714 | 60 | 0.5813 |
|
| 112 |
+
| 1.5529 | 60.5714 | 61 | 0.5813 |
|
| 113 |
+
| 1.524 | 61.5714 | 62 | 0.5814 |
|
| 114 |
+
| 1.5488 | 62.5714 | 63 | 0.5815 |
|
| 115 |
+
| 1.4817 | 63.5714 | 64 | 0.5817 |
|
| 116 |
+
| 1.5539 | 64.5714 | 65 | 0.5820 |
|
| 117 |
+
| 1.4465 | 65.5714 | 66 | 0.5821 |
|
| 118 |
+
| 1.4489 | 66.5714 | 67 | 0.5820 |
|
| 119 |
+
| 1.4475 | 67.5714 | 68 | 0.5820 |
|
| 120 |
+
| 1.4058 | 68.5714 | 69 | 0.5819 |
|
| 121 |
+
| 1.347 | 69.5714 | 70 | 0.5817 |
|
| 122 |
+
| 1.42 | 70.5714 | 71 | 0.5815 |
|
| 123 |
+
| 1.3531 | 71.5714 | 72 | 0.5813 |
|
| 124 |
+
| 1.5894 | 72.5714 | 73 | 0.5811 |
|
| 125 |
+
| 1.3858 | 73.5714 | 74 | 0.5808 |
|
| 126 |
+
| 1.3335 | 74.5714 | 75 | 0.5802 |
|
| 127 |
+
| 1.3272 | 75.5714 | 76 | 0.5796 |
|
| 128 |
+
| 1.3593 | 76.5714 | 77 | 0.5791 |
|
| 129 |
+
| 1.2942 | 77.5714 | 78 | 0.5785 |
|
| 130 |
+
| 1.3547 | 78.5714 | 79 | 0.5778 |
|
| 131 |
+
| 1.3148 | 79.5714 | 80 | 0.5767 |
|
| 132 |
+
| 1.3101 | 80.5714 | 81 | 0.5757 |
|
| 133 |
+
| 1.2415 | 81.5714 | 82 | 0.5747 |
|
| 134 |
+
| 1.2511 | 82.5714 | 83 | 0.5738 |
|
| 135 |
+
| 1.324 | 83.5714 | 84 | 0.5730 |
|
| 136 |
+
| 1.2649 | 84.5714 | 85 | 0.5723 |
|
| 137 |
+
| 1.2953 | 85.5714 | 86 | 0.5717 |
|
| 138 |
+
| 1.2885 | 86.5714 | 87 | 0.5711 |
|
| 139 |
+
| 1.2763 | 87.5714 | 88 | 0.5704 |
|
| 140 |
+
| 1.3113 | 88.5714 | 89 | 0.5698 |
|
| 141 |
+
| 1.3509 | 89.5714 | 90 | 0.5694 |
|
| 142 |
+
| 1.2008 | 90.5714 | 91 | 0.5689 |
|
| 143 |
+
| 1.2398 | 91.5714 | 92 | 0.5685 |
|
| 144 |
+
| 1.2502 | 92.5714 | 93 | 0.5680 |
|
| 145 |
+
| 1.2558 | 93.5714 | 94 | 0.5676 |
|
| 146 |
+
| 1.2674 | 94.5714 | 95 | 0.5672 |
|
| 147 |
+
| 1.1993 | 95.5714 | 96 | 0.5668 |
|
| 148 |
+
| 1.3029 | 96.5714 | 97 | 0.5665 |
|
| 149 |
+
| 1.2861 | 97.5714 | 98 | 0.5662 |
|
| 150 |
+
| 1.2414 | 98.5714 | 99 | 0.5661 |
|
| 151 |
+
| 1.2446 | 99.5714 | 100 | 0.5660 |
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
### Framework versions
|
| 155 |
+
|
| 156 |
+
- Transformers 4.48.3
|
| 157 |
+
- Pytorch 2.5.1+cu124
|
| 158 |
+
- Datasets 3.3.0
|
| 159 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "t5-small",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"T5ForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"classifier_dropout": 0.0,
|
| 7 |
+
"d_ff": 2048,
|
| 8 |
+
"d_kv": 64,
|
| 9 |
+
"d_model": 512,
|
| 10 |
+
"decoder_start_token_id": 0,
|
| 11 |
+
"dense_act_fn": "relu",
|
| 12 |
+
"dropout_rate": 0.1,
|
| 13 |
+
"eos_token_id": 1,
|
| 14 |
+
"feed_forward_proj": "relu",
|
| 15 |
+
"initializer_factor": 1.0,
|
| 16 |
+
"is_encoder_decoder": true,
|
| 17 |
+
"is_gated_act": false,
|
| 18 |
+
"layer_norm_epsilon": 1e-06,
|
| 19 |
+
"model_type": "t5",
|
| 20 |
+
"n_positions": 512,
|
| 21 |
+
"num_decoder_layers": 6,
|
| 22 |
+
"num_heads": 8,
|
| 23 |
+
"num_layers": 6,
|
| 24 |
+
"output_past": true,
|
| 25 |
+
"pad_token_id": 0,
|
| 26 |
+
"relative_attention_max_distance": 128,
|
| 27 |
+
"relative_attention_num_buckets": 32,
|
| 28 |
+
"task_specific_params": {
|
| 29 |
+
"summarization": {
|
| 30 |
+
"early_stopping": true,
|
| 31 |
+
"length_penalty": 2.0,
|
| 32 |
+
"max_length": 200,
|
| 33 |
+
"min_length": 30,
|
| 34 |
+
"no_repeat_ngram_size": 3,
|
| 35 |
+
"num_beams": 4,
|
| 36 |
+
"prefix": "summarize: "
|
| 37 |
+
},
|
| 38 |
+
"translation_en_to_de": {
|
| 39 |
+
"early_stopping": true,
|
| 40 |
+
"max_length": 300,
|
| 41 |
+
"num_beams": 4,
|
| 42 |
+
"prefix": "translate English to German: "
|
| 43 |
+
},
|
| 44 |
+
"translation_en_to_fr": {
|
| 45 |
+
"early_stopping": true,
|
| 46 |
+
"max_length": 300,
|
| 47 |
+
"num_beams": 4,
|
| 48 |
+
"prefix": "translate English to French: "
|
| 49 |
+
},
|
| 50 |
+
"translation_en_to_ro": {
|
| 51 |
+
"early_stopping": true,
|
| 52 |
+
"max_length": 300,
|
| 53 |
+
"num_beams": 4,
|
| 54 |
+
"prefix": "translate English to Romanian: "
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"torch_dtype": "float32",
|
| 58 |
+
"transformers_version": "4.48.3",
|
| 59 |
+
"use_cache": true,
|
| 60 |
+
"vocab_size": 32128
|
| 61 |
+
}
|
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.48.3"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08ef88e143767f3315ae88f36f71844214e28d73e33245a033a92a1c5af0e106
|
| 3 |
+
size 242041896
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2167eeeed71fa9b4d341fc618662eadff6356bde117eb3d8a686c7d3116cd820
|
| 3 |
+
size 5368
|