This model, named
traintogpb-ke-t5-base-aihub-koen-translation-integrated-10m-en-to-ko, is a machine translation model that translates English to Korean. It is fine-tuned from the
KETI-AIR/ke-t5-base model using the
aihub-koen-translation-integrated-base-10m dataset.
The model uses the ke-t5-base architecture, which is based on the T5 (Text-to-Text Transfer Transformer) model.
The model was trained on the aihub-koen-translation-integrated-base-10m dataset, which is designed for English-to-Korean translation tasks.
The training was performed on a single GPU system with an NVIDIA A100 (40GB).
This model is suitable for applications involving translation from English to Korean. Here is an example on how to use this model in Hugging Face's Transformers:
1from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
2
3model = AutoModelForSeq2SeqLM.from_pretrained("traintogpb-ke-t5-base-aihub-koen-translation-integrated-10m-en-to-ko")
4tokenizer = AutoTokenizer.from_pretrained("traintogpb-ke-t5-base-aihub-koen-translation-integrated-10m-en-to-ko")
5
6inputs = tokenizer.encode("This is a sample text.", return_tensors="pt")
7outputs = model.generate(inputs)
8print(tokenizer.decode(outputs[0], skip_special_tokens=True))