Instructions to use mindchain/llama-2-7b-custom1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mindchain/llama-2-7b-custom1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thenam/Llama-2-13b-hf-small-shards") model = PeftModel.from_pretrained(base_model, "mindchain/llama-2-7b-custom1") - Notebooks
- Google Colab
- Kaggle