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