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") - Notebooks
- Google Colab
- Kaggle
Text classification model to detect gun violence reports in Brazilian Portuguese. BERTimbau fine-tuned with Twitter data labelled by Instituto Fogo Cruzado. Developed as part of my research at the Oxford Internet Institute.
- Downloads last month
- 4