Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use summervent/speller-t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use summervent/speller-t5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("summervent/speller-t5") model = AutoModelForSeq2SeqLM.from_pretrained("summervent/speller-t5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from summervent/speller-t5: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/summervent/speller-t5/resolve/main/README.md
- Command line
-
hf download hf://summervent/speller-t5/README.md
-
curl -L -o README.md https://huggingface.co/summervent/speller-t5/resolve/main/README.md
1.83 kB
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - rouge | |
| model-index: | |
| - name: speller-t5 | |
| results: [] | |
| <!-- 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. --> | |
| # speller-t5 | |
| This model is a fine-tuned version of [summervent/speller-t5](https://huggingface.co/summervent/speller-t5) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.3569 | |
| - Rouge1: 14.5717 | |
| - Rouge2: 5.4522 | |
| - Rougel: 14.6057 | |
| - Rougelsum: 14.7357 | |
| - Gen Len: 30.8324 | |
| ## 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: 1 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | | |
| |:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:| | |
| | 0.6467 | 0.22 | 1500 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 | | |
| | 0.6408 | 0.44 | 3000 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 | | |
| | 0.6343 | 0.66 | 4500 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 | | |
| | 0.6372 | 0.87 | 6000 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 | | |
| ### Framework versions | |
| - Transformers 4.26.0 | |
| - Pytorch 1.13.1+cu116 | |
| - Datasets 2.9.0 | |
| - Tokenizers 0.13.2 | |