Text Classification
Transformers
PyTorch
Safetensors
Portuguese
bert
toxicity
alignment
text-embeddings-inference
Instructions to use nicholasKluge/ToxiGuardrailPT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nicholasKluge/ToxiGuardrailPT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nicholasKluge/ToxiGuardrailPT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nicholasKluge/ToxiGuardrailPT") model = AutoModelForSequenceClassification.from_pretrained("nicholasKluge/ToxiGuardrailPT") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
965681e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:44e627928229a78836fcff7135d16e8ff4e63fe2309df934e31bfa508178d276
size 435763821
|