Instructions to use wasertech/assistant-llama2-7b-chat-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use wasertech/assistant-llama2-7b-chat-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Photolens/llama-2-7b-langchain-chat") model = PeftModel.from_pretrained(base_model, "wasertech/assistant-llama2-7b-chat-qlora") - Notebooks
- Google Colab
- Kaggle