Summarization
Transformers
PyTorch
TensorBoard
Safetensors
English
t5
text2text-generation
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Instructions to use sudoLife/tst-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sudoLife/tst-summarization with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="sudoLife/tst-summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sudoLife/tst-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("sudoLife/tst-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| tags: | |
| - generated_from_trainer | |
| datasets: | |
| - cnn_dailymail | |
| metrics: | |
| - rouge | |
| model-index: | |
| - name: tst-summarization | |
| results: | |
| - task: | |
| name: Summarization | |
| type: summarization | |
| dataset: | |
| name: cnn_dailymail 3.0.0 | |
| type: cnn_dailymail | |
| config: 3.0.0 | |
| split: validation | |
| args: 3.0.0 | |
| metrics: | |
| - name: Rouge1 | |
| type: rouge | |
| value: 41.607 | |
| language: | |
| - en | |
| library_name: transformers | |
| pipeline_tag: summarization | |
| <!-- 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. --> | |
| # tst-summarization | |
| This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the cnn_dailymail 3.0.0 dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.6418 | |
| - Rouge1: 41.607 | |
| - Rouge2: 19.2272 | |
| - Rougel: 29.4514 | |
| - Rougelsum: 38.8228 | |
| - Gen Len: 73.8731 | |
| ## 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: 5e-05 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 3.0 | |
| ### Training results | |
| ### Framework versions | |
| - Transformers 4.29.2 | |
| - Pytorch 1.13.1+cu117 | |
| - Datasets 2.12.0 | |
| - Tokenizers 0.13.3 |