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
Commit ·
c2e8d00
1
Parent(s): f2641ce
update model card README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
- generated_from_trainer
|
|
|
|
|
|
|
| 4 |
model-index:
|
| 5 |
- name: speller-t5
|
| 6 |
results: []
|
|
@@ -11,19 +13,14 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 11 |
|
| 12 |
# speller-t5
|
| 13 |
|
| 14 |
-
This model is a fine-tuned version of [
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
-
-
|
| 19 |
-
-
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
-
- eval_runtime: 42.2827
|
| 23 |
-
- eval_samples_per_second: 4.73
|
| 24 |
-
- eval_steps_per_second: 0.591
|
| 25 |
-
- epoch: 0.16
|
| 26 |
-
- step: 400
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
@@ -51,6 +48,16 @@ The following hyperparameters were used during training:
|
|
| 51 |
- num_epochs: 1
|
| 52 |
- mixed_precision_training: Native AMP
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
### Framework versions
|
| 55 |
|
| 56 |
- Transformers 4.26.0
|
|
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
- generated_from_trainer
|
| 4 |
+
metrics:
|
| 5 |
+
- rouge
|
| 6 |
model-index:
|
| 7 |
- name: speller-t5
|
| 8 |
results: []
|
|
|
|
| 13 |
|
| 14 |
# speller-t5
|
| 15 |
|
| 16 |
+
This model is a fine-tuned version of [summervent/speller-t5](https://huggingface.co/summervent/speller-t5) on the None dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.3569
|
| 19 |
+
- Rouge1: 14.5717
|
| 20 |
+
- Rouge2: 5.4522
|
| 21 |
+
- Rougel: 14.6057
|
| 22 |
+
- Rougelsum: 14.7357
|
| 23 |
+
- Gen Len: 30.8324
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 48 |
- num_epochs: 1
|
| 49 |
- mixed_precision_training: Native AMP
|
| 50 |
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:|
|
| 55 |
+
| 0.6467 | 0.22 | 1500 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 |
|
| 56 |
+
| 0.6408 | 0.44 | 3000 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 |
|
| 57 |
+
| 0.6343 | 0.66 | 4500 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 |
|
| 58 |
+
| 0.6372 | 0.87 | 6000 | 0.3569 | 14.5717 | 5.4522 | 14.6057 | 14.7357 | 30.8324 |
|
| 59 |
+
|
| 60 |
+
|
| 61 |
### Framework versions
|
| 62 |
|
| 63 |
- Transformers 4.26.0
|