File size: 314 Bytes
ddd0d47
 
 
 
 
 
 
 
 
169f2b5
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
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"]))
```