facebook/covost2
Updated • 538 • 53
How to use JohnLei/t5-small-translation with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("JohnLei/t5-small-translation")
model = AutoModelForSeq2SeqLM.from_pretrained("JohnLei/t5-small-translation", device_map="auto")This model is a fine-tuned version of google-t5/t5-small on the covost2 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|---|---|---|---|---|---|
| 4.5402 | 1.0 | 746 | 4.1397 | 0.0508 | 20.0 |
| 4.3697 | 2.0 | 1492 | 4.0848 | 0.0582 | 19.9859 |
| 4.2755 | 3.0 | 2238 | 4.0627 | 0.059 | 19.998 |
| 4.2785 | 4.0 | 2984 | 4.0560 | 0.0589 | 19.9998 |
Base model
google-t5/t5-small