Instructions to use Narmadat21/Llama-2-7b-chat-hf-fine-tuned-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Narmadat21/Llama-2-7b-chat-hf-fine-tuned-adapters with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "Narmadat21/Llama-2-7b-chat-hf-fine-tuned-adapters") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
72b3c7d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:14b3ef13abdc3ff5a76a95e5c01fb5042684e9dd0ba260570fa01b1e00896963
size 33646413
|