Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
datasetsANDmodels
/
ar2en
like
0
PyTorch
Arabic
English
marian
Model card
Files
Files and versions
xet
Community
97badf6
ar2en
/
usage.py
datasetsANDmodels
Create usage.py
97badf6
verified
5 months ago
raw
Copy download link
history
blame
187 Bytes
from
transformers
import
pipeline
pipe= pipeline(
"translation"
, model=
"ar2en"
)
text=
"أنا أتصل من مكتب الضرائب"
result =pipe(text)
print
( result[
0
][
"translation_text"
])