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:
- 52c0842d5dd1b911aeeb9a232a4ca14f47d9c34ab3b05ea5c5c7d6ee545af173
- Size of remote file:
- 303 MB
- SHA256:
- 2a20385938daf760e6755c384d99ccc36dab455a036c46def589fcbd21c64675
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.