Instructions to use gpol13/codet5_sparse_lora_l1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gpol13/codet5_sparse_lora_l1 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_sparse_lora_l1") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
63e7d6d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5603b8ad6e5c44098ff4d1375f09416bfc133ae607756a2e0d3c0084e202b93e
size 5432
|