Helsinki-NLP/opus_books
Viewer • Updated • 1.25M • 12.3k • 94
How to use yasmineelabbar/my_awesome_opus_books_model with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("yasmineelabbar/my_awesome_opus_books_model")
model = AutoModelForSeq2SeqLM.from_pretrained("yasmineelabbar/my_awesome_opus_books_model", device_map="auto")This model is a fine-tuned version of Helsinki-NLP/opus-mt-en-fr 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 |
|---|---|---|---|---|---|
| 0.4627 | 1.0 | 2542 | 0.4327 | 25.2902 | 33.8224 |
| 0.4294 | 2.0 | 5084 | 0.4232 | 25.6283 | 33.8077 |
Base model
Helsinki-NLP/opus-mt-en-fr