Text Classification
PEFT
Safetensors
English
toxic-content
safety
constitutional-classifier
lora
gemma
Eval Results (legacy)
Instructions to use secllmuser/constitutional-toxic-classifier-gemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use secllmuser/constitutional-toxic-classifier-gemma with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "secllmuser/constitutional-toxic-classifier-gemma") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
5bac678 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ae4adcd4b80a962290f1ad489ecf8f1d91009d736381c98d9ac54c949b6a7e42
size 34349305
|