Instructions to use amztheory/alpaca-code-CPlus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use amztheory/alpaca-code-CPlus with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-7b-instruct") model = PeftModel.from_pretrained(base_model, "amztheory/alpaca-code-CPlus") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from amztheory/alpaca-code-CPlus: direct link, hf CLI and curl.
- Browser
- Download file 37.8 MB
-
https://huggingface.co/amztheory/alpaca-code-CPlus/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://amztheory/alpaca-code-CPlus/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/amztheory/alpaca-code-CPlus/resolve/main/adapter_model.safetensors
37.8 MB
- Xet hash:
- 39557a23dcb87fae99f7cc7f0f4067d44634fc818a98c8bd4dafe74a80df0c73
- Size of remote file:
- 37.8 MB
- SHA256:
- b637c3edd146aad2ab2048145dc18e776fc0e80189668009e0f0656794747666
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.