PEFT
TensorBoard
Safetensors
llama
trl
sft
unsloth
Generated from Trainer
4-bit precision
bitsandbytes
Instructions to use stacklok/CodeLlama-7b-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use stacklok/CodeLlama-7b-hf with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/codellama-7b-bnb-4bit") model = PeftModel.from_pretrained(base_model, "stacklok/CodeLlama-7b-hf") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download model.safetensors from stacklok/CodeLlama-7b-hf: direct link, hf CLI and curl.
- Browser
- Download file 3.87 GB
-
https://huggingface.co/stacklok/CodeLlama-7b-hf/resolve/main/model.safetensors
- Command line
-
hf download hf://stacklok/CodeLlama-7b-hf/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/stacklok/CodeLlama-7b-hf/resolve/main/model.safetensors
3.87 GB
- Xet hash:
- 9285da8c1d6f556445eac254f55a15e9664d3e53962256031d992a321255c644
- Size of remote file:
- 3.87 GB
- SHA256:
- b62dfda90c6494fda66a19cd83db803e856e8ac4d850ffae8844469d9a4292a4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.