Instructions to use sedtha/mBart-50-large_LoRa_kh_sumerize with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sedtha/mBart-50-large_LoRa_kh_sumerize with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/mbart-large-50") model = PeftModel.from_pretrained(base_model, "sedtha/mBart-50-large_LoRa_kh_sumerize") - Transformers
How to use sedtha/mBart-50-large_LoRa_kh_sumerize with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sedtha/mBart-50-large_LoRa_kh_sumerize", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K