Instructions to use NouRed/quantized-llama2-alpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NouRed/quantized-llama2-alpaca 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, "NouRed/quantized-llama2-alpaca") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
22205e0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:695d34d93a27f5282bd310817858da4db4172c4e2e42bf6ca19711d29ff1e2e5
size 639792909
|