ko2en / usage.py
datasetsANDmodels's picture
Update usage.py
d9c8d71 verified
from transformers import pipeline
pipe= pipeline("translation", model="ko2en")
text="μ €λŠ” μ„Έλ¬΄μ„œμ—μ„œ μ „ν™”ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€."
result =pipe(text)
print( result[0]["translation_text"])