Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
datasetsANDmodels
/
ar2en
like
0
PyTorch
Arabic
English
marian
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
datasetsANDmodels
commited on
Aug 13, 2025
Commit
97badf6
·
verified
·
1 Parent(s):
81ffeb8
Create usage.py
Browse files
Files changed (1)
hide
show
usage.py
+5
-0
usage.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
from transformers import pipeline
2
+
pipe= pipeline("translation", model="ar2en")
3
+
text="أنا أتصل من مكتب الضرائب"
4
+
result =pipe(text)
5
+
print( result[0]["translation_text"])