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