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