Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
datasetsANDmodels
/
hi2en
like
0
PyTorch
marian
Model card
Files
Files and versions
xet
Community
e78db43
hi2en
/
usage.py
datasetsANDmodels
Update usage.py
25951a3
verified
about 1 month ago
raw
Copy download link
history
blame
231 Bytes
from
transformers
import
pipeline
pipe= pipeline(
"translation"
, model=
"hi2en"
)
text=
"मैं कर कार्यालय से फोन कर रहा हूँ"
result =pipe(text)
print
( result[
0
][
"translation_text"
])