Text Classification
Transformers
Safetensors
Portuguese
bert
toxicity
portuguese
text-embeddings-inference
Instructions to use Polygl0t/portuguese-bertimbau-toxicity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Polygl0t/portuguese-bertimbau-toxicity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Polygl0t/portuguese-bertimbau-toxicity-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Polygl0t/portuguese-bertimbau-toxicity-classifier") model = AutoModelForSequenceClassification.from_pretrained("Polygl0t/portuguese-bertimbau-toxicity-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Polygl0t/portuguese-bertimbau-toxicity-classifier: direct link, hf CLI and curl.
- Browser
- Download file 678 kB
-
https://huggingface.co/Polygl0t/portuguese-bertimbau-toxicity-classifier/resolve/main/tokenizer.json
- Command line
-
hf download hf://Polygl0t/portuguese-bertimbau-toxicity-classifier/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Polygl0t/portuguese-bertimbau-toxicity-classifier/resolve/main/tokenizer.json
678 kB
File too large to display, you can check the raw version instead.