Instructions to use TJKlein/ContrastivePerplexity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TJKlein/ContrastivePerplexity with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "TJKlein/ContrastivePerplexity") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
9a519dc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ed2de7d97e8cfbabd3c252936de8dad256f698a95ff8331febc99bd8d6b5eb07
size 4091
|