Downloads · 30 days
10
1% of all-time downloads
mjk0618/mt-ko-en-scitech
mt-ko-en-scitech is a translation model from mjk0618. Use it when you need text moved from one language to another. It is set up for transformers.
This model is fine-tuned model of "Helsinki-NLP/opus-mt-ko-en" <br/ The model is trained with 1,198,943 Korean-English sentence pairs which mainly contains science, technology terms.
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
670
Public
Parameters
77.5M
620 MB on disk
Likes
4
Public
Click a slice to open those files.
.bin310 MB · 50%
From the Hugging Face model README
This model is fine-tuned model of "Helsinki-NLP/opus-mt-ko-en" <br/> The model is trained with 1,198,943 Korean-English sentence pairs which mainly contains science, technology terms.
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("mjk0618/mt-ko-en-scitech")
model = AutoModelForSeq2SeqLM.from_pretrained("mjk0618/mt-ko-en-scitech")
# After loading model
sentence = "인공지능은 인간의 학습능력, 추론능력, 지각능력을 인공적으로 구현하려는 컴퓨터 과학의 세부분야 중 하나이다"
inputs = tokenizer(sentence, return_tensors="pt").input_ids
outputs = model.generate(inputs)[0]
translated_sentence = tokenizer.decode(outputs, skip_special_tokens=True)
print(translated_sentence)
# Artificial intelligence is one of the details of computer science that artifically implements human learning ability, reasoning ability, and perception ability.