Instructions to use mindchain/llama2-adapter_01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mindchain/llama2-adapter_01 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded") model = PeftModel.from_pretrained(base_model, "mindchain/llama2-adapter_01") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
20a5deb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dda70f4e16828509340cee37cf740b3a137f804522461c64d3075b3d2b01d932
size 134263757
|