Instructions to use bigcode/astraios-ptuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bigcode/astraios-ptuning with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase") model = PeftModel.from_pretrained(base_model, "bigcode/astraios-ptuning") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from bigcode/astraios-ptuning: direct link, hf CLI and curl.
- Browser
- Download file 738 kB
-
https://huggingface.co/bigcode/astraios-ptuning/resolve/544ff88b38400448ec82a5aca4e723cccb852a07/adapter_model.bin
- Command line
-
hf download hf://bigcode/astraios-ptuning@544ff88b38400448ec82a5aca4e723cccb852a07/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/bigcode/astraios-ptuning/resolve/544ff88b38400448ec82a5aca4e723cccb852a07/adapter_model.bin
738 kB
- Xet hash:
- 83ef2f1595d04a4b929b437dc62d972ab81d9aea116f837c5cccb0128073e0f2
- Size of remote file:
- 738 kB
- SHA256:
- 2e8f18a933a496ac1fb0a1253969ac767b4454041a50230570402c570520f7c9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.