Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use summervent/speller-example__ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use summervent/speller-example__ with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("summervent/speller-example__") model = AutoModelForSeq2SeqLM.from_pretrained("summervent/speller-example__", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
2540525
1
Parent(s): 60cec84
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
metrics:
|
| 5 |
+
- rouge
|
| 6 |
+
model-index:
|
| 7 |
+
- name: speller-example__
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# speller-example__
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [sberbank-ai/ruT5-base](https://huggingface.co/sberbank-ai/ruT5-base) on the None dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.1437
|
| 19 |
+
- Rouge1: 19.7034
|
| 20 |
+
- Rouge2: 8.7571
|
| 21 |
+
- Rougel: 19.4209
|
| 22 |
+
- Rougelsum: 19.774
|
| 23 |
+
- Gen Len: 41.2542
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 5e-05
|
| 43 |
+
- train_batch_size: 8
|
| 44 |
+
- eval_batch_size: 8
|
| 45 |
+
- seed: 42
|
| 46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
+
- lr_scheduler_type: linear
|
| 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.3549 | 0.1 | 1500 | 0.1935 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.1356 |
|
| 56 |
+
| 0.3863 | 0.2 | 3000 | 0.1830 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.1864 |
|
| 57 |
+
| 0.3164 | 0.31 | 4500 | 0.1746 | 19.5621 | 8.4746 | 19.2797 | 19.5621 | 41.2966 |
|
| 58 |
+
| 0.367 | 0.41 | 6000 | 0.1690 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.161 |
|
| 59 |
+
| 0.3002 | 0.51 | 7500 | 0.1578 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.2458 |
|
| 60 |
+
| 0.3352 | 0.61 | 9000 | 0.1541 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.3475 |
|
| 61 |
+
| 0.2462 | 0.72 | 10500 | 0.1519 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.3475 |
|
| 62 |
+
| 0.2736 | 0.82 | 12000 | 0.1510 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.2797 |
|
| 63 |
+
| 0.2618 | 0.92 | 13500 | 0.1437 | 19.7034 | 8.7571 | 19.4209 | 19.774 | 41.2542 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 4.26.0
|
| 69 |
+
- Pytorch 1.13.1+cu116
|
| 70 |
+
- Datasets 2.9.0
|
| 71 |
+
- Tokenizers 0.13.2
|