Downloads · 30 days
10
12% of all-time downloads
azherali/MarianMT-english-urdu
MarianMT-english-urdu is a machine learning model from azherali. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
10
12% of all-time downloads
All-time downloads
85
Public
Parameters
76M
913 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors304 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of Helsinki-NLP/opus-mt-en-ur on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
from transformers import pipeline
# Load fine-tuned model
model_checkpoint = "azherali/MarianMT-english-urdu"
# Create translation pipeline
translator = pipeline(
"translation",
model=model_checkpoint,
tokenizer=model_checkpoint,
src_lang="en_XX",
tgt_lang="ur_PK"
)
# Run example translation
sentence = "I am very happy today."
result = translator(sentence)
print("Input:", sentence)
print("Translation:", result[0]['translation_text'])
The following hyperparameters were used during training: