Instructions to use samandar1105/translation-eng-kr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samandar1105/translation-eng-kr with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="samandar1105/translation-eng-kr")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("samandar1105/translation-eng-kr") model = AutoModelForSeq2SeqLM.from_pretrained("samandar1105/translation-eng-kr") - Notebooks
- Google Colab
- Kaggle
translation-eng-kr
This model is a fine-tuned version of Helsinki-NLP/opus-mt-tc-big-en-ko on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 3.0721
- Model Preparation Time: 0.0028
- Bleu: 6.2260
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Bleu |
|---|---|---|---|---|---|
| 3.4231 | 1.0 | 5209 | 3.2975 | 0.0028 | 4.6245 |
| 3.0669 | 2.0 | 10418 | 3.1152 | 0.0028 | 5.8836 |
| 2.8782 | 3.0 | 15627 | 3.0721 | 0.0028 | 6.2260 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 84
Model tree for samandar1105/translation-eng-kr
Base model
Helsinki-NLP/opus-mt-tc-big-en-ko