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
- Xet hash:
- cbc7941a561fc001aed0c3ae305a795aa9ba44a4620e5a8ed84eb595de9798e0
- Size of remote file:
- 67.2 MB
- SHA256:
- dc7676fa655015dd6b6bf9261d2eca949f851eb9f7be16109400cbad93454441
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.