Instructions to use butlert/Llama-2-7b-chat-hf-sharded-bf16-fine-tuned-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use butlert/Llama-2-7b-chat-hf-sharded-bf16-fine-tuned-adapters with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Trelis/Llama-2-7b-chat-hf-sharded-bf16") model = PeftModel.from_pretrained(base_model, "butlert/Llama-2-7b-chat-hf-sharded-bf16-fine-tuned-adapters") - Notebooks
- Google Colab
- Kaggle