Instructions to use phuongntc/results with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use phuongntc/results with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/pegasus-cnn_dailymail") model = PeftModel.from_pretrained(base_model, "phuongntc/results") - Transformers
How to use phuongntc/results with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("phuongntc/results", dtype="auto") - Notebooks
- Google Colab
- Kaggle