Instructions to use InterCECTDev/llama-2-7b-custom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use InterCECTDev/llama-2-7b-custom with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "InterCECTDev/llama-2-7b-custom") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
862603a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fdd27b5c07f1477de7f90b260d68db92663ca087f91beb58a77c1fe45a45da9c
size 134263757
|