Helsinki-NLP/opus_books
Viewer • Updated • 1.25M • 10.8k • 93
How to use Osquery/my_awesome_opus_books_model with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Osquery/my_awesome_opus_books_model")
model = AutoModelForSeq2SeqLM.from_pretrained("Osquery/my_awesome_opus_books_model")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.8568 | 1.0 | 6355 | 1.6316 | 5.5188 | 17.6163 |
| 1.8189 | 2.0 | 12710 | 1.6088 | 5.6932 | 17.602 |
Base model
google-t5/t5-small