Instructions to use royam0820/llama2-CodeInstr-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use royam0820/llama2-CodeInstr-ft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded") model = PeftModel.from_pretrained(base_model, "royam0820/llama2-CodeInstr-ft") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from royam0820/llama2-CodeInstr-ft: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/royam0820/llama2-CodeInstr-ft/resolve/main/adapter_model.bin
- Command line
-
hf download hf://royam0820/llama2-CodeInstr-ft/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/royam0820/llama2-CodeInstr-ft/resolve/main/adapter_model.bin
134 MB
- Xet hash:
- 02daf86b39c50056244d5e763d78a8c4d6fa50663d035246bb1cb7a37132fc31
- Size of remote file:
- 134 MB
- SHA256:
- d747692afb1676b5315588f7184ac937a5b1949b25fc1421654c58446c98c0dc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.