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
File size: 133 Bytes
f7ddafd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:562b9ecf4220a20323ddd8aab67dd2a48cc54f9ca9154e4e038eda80f27b646d
size 16822989
|