Instructions to use shehryaraijaz/m2m100-legal-translation-en-ur with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shehryaraijaz/m2m100-legal-translation-en-ur with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("shehryaraijaz/m2m100-legal-translation-en-ur") model = AutoModelForSeq2SeqLM.from_pretrained("shehryaraijaz/m2m100-legal-translation-en-ur", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K