Translation
Transformers
PyTorch
Safetensors
Bengali
English
marian
text2text-generation
Eval Results (legacy)
Instructions to use shhossain/opus-mt-en-to-bn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shhossain/opus-mt-en-to-bn with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="shhossain/opus-mt-en-to-bn")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("shhossain/opus-mt-en-to-bn") model = AutoModelForSeq2SeqLM.from_pretrained("shhossain/opus-mt-en-to-bn", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b286c05db8d0fd945a926960bfb2f03d327cd35ab84e9e71edae7223c11e2f4f
- Size of remote file:
- 4.22 kB
- SHA256:
- 0f234669df19c9814c570a9349ec1ca21462043991de4ea20e86e01b8f5fb67c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.