Instructions to use isaaclee/llama_train_seq_cls_run1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use isaaclee/llama_train_seq_cls_run1 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "isaaclee/llama_train_seq_cls_run1") - Notebooks
- Google Colab
- Kaggle
Ctrl+K