Instructions to use minhbui/llama2-7b-hf-kaggle-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use minhbui/llama2-7b-hf-kaggle-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "minhbui/llama2-7b-hf-kaggle-adapter") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
85de3c1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:07c8a565ad8b656bdf9587ff6645a4d09cc1be860f8ca240bcc0d530db94b123
size 319977229
|