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