Instructions to use tminhtri1910/bartpho-vietnamese-correction-bmd1905 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tminhtri1910/bartpho-vietnamese-correction-bmd1905 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("vinai/bartpho-syllable") model = PeftModel.from_pretrained(base_model, "tminhtri1910/bartpho-vietnamese-correction-bmd1905") - Transformers
How to use tminhtri1910/bartpho-vietnamese-correction-bmd1905 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tminhtri1910/bartpho-vietnamese-correction-bmd1905", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K