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
File size: 132 Bytes
9eb7f59 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:112f5c8210cf6487081a5d03f7c66a40852e66d89f7c1394475cbdf3478d1789
size 7198906
|