Instructions to use LorenaYannnnn/ContrastiveLLaMA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use LorenaYannnnn/ContrastiveLLaMA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("yahma/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "LorenaYannnnn/ContrastiveLLaMA") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
af2799d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dc7676fa655015dd6b6bf9261d2eca949f851eb9f7be16109400cbad93454441
size 67201357
|