Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
datasetsANDmodels
/
en2id
like
0
PyTorch
English
Indonesian
marian
Model card
Files
Files and versions
xet
Community
797acbc
en2id
/
usage.py
datasetsANDmodels
Create usage.py
797acbc
verified
5 months ago
raw
Copy download link
history
blame
177 Bytes
from
transformers
import
pipeline
pipe= pipeline(
"translation"
, model=
"en2id"
)
text=
"I am calling from the tax office"
result =pipe(text)
print
( result[
0
][
"translation_text"
])