Translation
Transformers
Safetensors
Bengali
English
t5
text2text-generation
text-generation-inference
Instructions to use reyazul/BanglaSTEM-T5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reyazul/BanglaSTEM-T5 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="reyazul/BanglaSTEM-T5")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("reyazul/BanglaSTEM-T5") model = AutoModelForSeq2SeqLM.from_pretrained("reyazul/BanglaSTEM-T5") - Notebooks
- Google Colab
- Kaggle
Add pipeline tag, library name, and paper link
#1
by nielsr HF Staff - opened
This PR enriches the model card by adding key metadata: pipeline_tag: translation and library_name: transformers.
This will make the model more discoverable on the Hugging Face Hub and enable an automated code snippet for usage.
Additionally, a link to the paper BanglaSTEM: A Parallel Corpus for Technical Domain Bangla-English Translation is added for easy reference.
reyazul changed pull request status to merged