Instructions to use hsultanbey/llama-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hsultanbey/llama-2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded") model = PeftModel.from_pretrained(base_model, "hsultanbey/llama-2") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1
by librarian-bot - opened