license: apache-2.0 | |
language: | |
- en | |
- ko | |
tags: | |
- transliteration | |
- multilingual | |
``` | |
!pip install simpletransformers | |
from simpletransformers.t5 import T5Model | |
model = T5Model("mt5", "eunsour/en-ko-transliterator", use_cuda=False) | |
print(model.predict(["transformer"])) | |
print(model.predict(["attention"])) | |
``` |