Transformers
Safetensors
t5
text2text-generation
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Instructions to use reza-alipour/ft5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reza-alipour/ft5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("reza-alipour/ft5") model = AutoModelForSeq2SeqLM.from_pretrained("reza-alipour/ft5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,934 Bytes
c2a03d1 329df2f c2a03d1 329df2f c2a03d1 329df2f c2a03d1 1573f37 c2a03d1 aafed14 c2a03d1 1573f37 c2a03d1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | ---
base_model: reza-alipour/ft5
tags:
- generated_from_trainer
datasets:
- reza-alipour/Text-Edit-Instruct-Preprocessed-4m
metrics:
- rouge
model-index:
- name: ft5
results:
- task:
name: Summarization
type: summarization
dataset:
name: reza-alipour/Text-Edit-Instruct-Preprocessed-4m
type: reza-alipour/Text-Edit-Instruct-Preprocessed-4m
metrics:
- name: Rouge1
type: rouge
value: 86.5313
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# ft5
This model is a fine-tuned version of [reza-alipour/ft5](https://huggingface.co/reza-alipour/ft5) on the reza-alipour/Text-Edit-Instruct-Preprocessed-4m dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3032
- Rouge1: 86.5313
- Rouge2: 75.3351
- Rougel: 85.9565
- Rougelsum: 85.9785
- Gen Len: 24.5688
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 7e-05
- train_batch_size: 4
- eval_batch_size: 4
- seed: 1337
- gradient_accumulation_steps: 8
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: constant
- num_epochs: 1.0
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
| 0.3601 | 1.0 | 31042 | 0.3032 | 86.5313 | 75.3351 | 85.9565 | 85.9785 | 24.5688 |
### Framework versions
- Transformers 4.36.0.dev0
- Pytorch 2.1.1
- Datasets 2.15.0
- Tokenizers 0.15.0
|