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