Text Classification
Transformers
PyTorch
Portuguese
deberta-v2
gun violence
human rights
text-embeddings-inference
Instructions to use belisards/albertina_gun with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use belisards/albertina_gun with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="belisards/albertina_gun")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("belisards/albertina_gun") model = AutoModelForSequenceClassification.from_pretrained("belisards/albertina_gun", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Text classification model to detect gun violence reports in Brazilian Portuguese. Albertina-PT model 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