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