Instructions to use jayyd/indictrans2-hi-kn-en-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jayyd/indictrans2-hi-kn-en-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("ai4bharat/indictrans2-indic-en-dist-200M") model = PeftModel.from_pretrained(base_model, "jayyd/indictrans2-hi-kn-en-lora") - Transformers
How to use jayyd/indictrans2-hi-kn-en-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jayyd/indictrans2-hi-kn-en-lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File too large to display, you can check the raw version instead.