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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gpol13/codet5_qlora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-14145/optimizer.pt from gpol13/codet5_qlora: direct link, hf CLI and curl.
- Browser
- Download file 7.2 MB
-
https://huggingface.co/gpol13/codet5_qlora/resolve/main/checkpoint-14145/optimizer.pt
- Command line
-
hf download hf://gpol13/codet5_qlora/checkpoint-14145/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/gpol13/codet5_qlora/resolve/main/checkpoint-14145/optimizer.pt
7.2 MB
- Xet hash:
- bbbc20da47fc6178c45045ec9ae8cf9c476113cf8cdaa1a1352156859b3c28b2
- Size of remote file:
- 7.2 MB
- SHA256:
- a297fa43902036f425ebef026e9b07f87a2ecc04deb5e369d0c86cee2cbca96c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.