Instructions to use santyzenith/augmented_t5_pictos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use santyzenith/augmented_t5_pictos with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("santyzenith/augmented_t5_pictos") model = AutoModelForSeq2SeqLM.from_pretrained("santyzenith/augmented_t5_pictos") - Notebooks
- Google Colab
- Kaggle
Commit ·
9d9067c
1
Parent(s): f51684a
End of training
Browse files- README.md +17 -3
- generation_config.json +0 -1
README.md
CHANGED
|
@@ -3,6 +3,8 @@ license: mit
|
|
| 3 |
base_model: flax-community/spanish-t5-small
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: augmented_t5_pictos
|
| 8 |
results: []
|
|
@@ -14,6 +16,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
# augmented_t5_pictos
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [flax-community/spanish-t5-small](https://huggingface.co/flax-community/spanish-t5-small) on the None dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
@@ -33,15 +42,20 @@ More information needed
|
|
| 33 |
|
| 34 |
The following hyperparameters were used during training:
|
| 35 |
- learning_rate: 5e-05
|
| 36 |
-
- train_batch_size:
|
| 37 |
-
- eval_batch_size:
|
| 38 |
- seed: 42
|
| 39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 40 |
- lr_scheduler_type: linear
|
| 41 |
-
- num_epochs:
|
| 42 |
|
| 43 |
### Training results
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
### Framework versions
|
|
|
|
| 3 |
base_model: flax-community/spanish-t5-small
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- rouge
|
| 8 |
model-index:
|
| 9 |
- name: augmented_t5_pictos
|
| 10 |
results: []
|
|
|
|
| 16 |
# augmented_t5_pictos
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [flax-community/spanish-t5-small](https://huggingface.co/flax-community/spanish-t5-small) on the None dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 1.7310
|
| 21 |
+
- Rouge1: 37.4282
|
| 22 |
+
- Rouge2: 22.3689
|
| 23 |
+
- Rougel: 36.6759
|
| 24 |
+
- Rougelsum: 36.6221
|
| 25 |
+
- Gen Len: 8.2137
|
| 26 |
|
| 27 |
## Model description
|
| 28 |
|
|
|
|
| 42 |
|
| 43 |
The following hyperparameters were used during training:
|
| 44 |
- learning_rate: 5e-05
|
| 45 |
+
- train_batch_size: 16
|
| 46 |
+
- eval_batch_size: 16
|
| 47 |
- seed: 42
|
| 48 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
- lr_scheduler_type: linear
|
| 50 |
+
- num_epochs: 3
|
| 51 |
|
| 52 |
### Training results
|
| 53 |
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
| 56 |
+
| 2.6393 | 1.0 | 264 | 1.9960 | 32.7681 | 17.2065 | 31.9063 | 31.833 | 8.3718 |
|
| 57 |
+
| 1.9631 | 2.0 | 528 | 1.7823 | 38.1058 | 22.883 | 37.2227 | 37.1823 | 8.0598 |
|
| 58 |
+
| 1.7671 | 3.0 | 792 | 1.7310 | 37.4282 | 22.3689 | 36.6759 | 36.6221 | 8.2137 |
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
generation_config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_from_model_config": true,
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"decoder_start_token_id": 0,
|
| 3 |
"eos_token_id": 1,
|
| 4 |
"pad_token_id": 0,
|