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
Commit History
-
Librarian Bot: Add base_model information to model (#1)
- Librarian Bot: Add base_model information to model (1aa9091d841dac923f09fb57ae5853801dbdf214) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>2d14810
-
first commit
f7ddafd