Instructions to use Deepakvictor/tan-ta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Deepakvictor/tan-ta 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="Deepakvictor/tan-ta")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Deepakvictor/tan-ta") model = AutoModelForSeq2SeqLM.from_pretrained("Deepakvictor/tan-ta") - Notebooks
- Google Colab
- Kaggle
Update README.md
#2
by Hemanth-thunder - opened
added src_lang and tgt_lang in model card , widget
getting Translation requires a src_lang and a tgt_lang for this model widget
Deepakvictor changed pull request status to merged