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