Text Classification
Transformers
PyTorch
Portuguese
bert
gun violence
human rights
text-embeddings-inference
Instructions to use belisards/gun_violence_ptbr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use belisards/gun_violence_ptbr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="belisards/gun_violence_ptbr")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("belisards/gun_violence_ptbr") model = AutoModelForSequenceClassification.from_pretrained("belisards/gun_violence_ptbr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K