Downloads · 30 days
84
5% of all-time downloads
shihab17/bengali-bn-to-en
bengali-bn-to-en is a translation model from shihab17. Use it when you need text moved from one language to another. It is set up for transformers.
You can use this model directly with a pipeline:
Downloads · 30 days
84
5% of all-time downloads
All-time downloads
1.8K
Public
Parameters
76.8M
58.4 GB on disk
Likes
2
Public
Click a slice to open those files.
.bin307 MB · 50%
From the Hugging Face model README
You can use this model directly with a pipeline:
from transformers import AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained("shihab17/bengali-bn-to-en")
model = AutoModelForSeq2SeqLM.from_pretrained("shihab17/bengali-bn-to-en")
sentence = 'ম্যাচ শেষে পুরস্কার বিতরণের মঞ্চে তামিমের মুখে মোস্তাফিজের প্রশংসা শোনা গেল'
translator = pipeline("translation_bn_to_en", model=model, tokenizer=tokenizer)
output = translator(sentence)
print(output)