Helsinki-NLP/opus_books
Viewer • Updated • 1.25M • 7.4k • 94
How to use GCruz19/my_awesome_opus_books_model with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("GCruz19/my_awesome_opus_books_model")
model = AutoModelForSeq2SeqLM.from_pretrained("GCruz19/my_awesome_opus_books_model", device_map="auto")This model is a fine-tuned version of t5-small on the opus_books 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 |
|---|---|---|---|---|---|
| 1.8746 | 1.0 | 6355 | 1.6236 | 5.4994 | 17.6031 |
| 1.8253 | 2.0 | 12710 | 1.6000 | 5.6863 | 17.5885 |
Base model
google-t5/t5-small