Instructions to use thenlpresearcher/llama_sequence_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use thenlpresearcher/llama_sequence_classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "thenlpresearcher/llama_sequence_classification") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
75f7683 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fb1d2f4485387962a70b94d6c8301b823c4b71475cd38c3397e97d7eac5b015d
size 5240
|