sarahwei/Taiwanese-Minnan-Example-Sentences
Viewer • Updated • 15.7k • 346 • 13
How to use Curiousfox/helsinki_new_ver5.1 with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Curiousfox/helsinki_new_ver5.1")
model = AutoModelForSeq2SeqLM.from_pretrained("Curiousfox/helsinki_new_ver5.1", device_map="auto")This model is a fine-tuned version of Helsinki-NLP/opus-mt-en-ZH on the sarahwei/Taiwanese-Minnan-Example-Sentences 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 | Ter |
|---|---|---|---|---|---|
| 0.1528 | 0.5656 | 1000 | 0.1781 | 30.0868 | 50.0852 |
| 0.1622 | 1.1312 | 2000 | 0.1786 | 30.0483 | 49.7162 |
| 0.1481 | 1.6968 | 3000 | 0.1779 | 30.6107 | 49.3613 |
| 0.1369 | 2.2624 | 4000 | 0.1773 | 30.3317 | 49.4039 |
| 0.1434 | 2.8281 | 5000 | 0.1771 | 31.3488 | 48.7653 |
| 0.1283 | 3.3937 | 6000 | 0.1768 | 31.9413 | 48.7085 |
| 0.1295 | 3.9593 | 7000 | 0.1770 | 31.8531 | 49.2052 |
| 0.1256 | 4.5249 | 8000 | 0.1769 | 31.6029 | 49.2052 |
| 0.123 | 5.0905 | 9000 | 0.1774 | 31.4017 | 49.3755 |