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