How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="AIDA-UPM/bertweet-base-multi-mami")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("AIDA-UPM/bertweet-base-multi-mami")
model = AutoModelForSequenceClassification.from_pretrained("AIDA-UPM/bertweet-base-multi-mami")
Quick Links

bertweet-base-multi-mami

This is a Bertweet model: It maps sentences & paragraphs to a 768 dimensional dense vector space and classifies them into 5 multi labels.

Multilabels

label2id={
    "misogynous": 0,
    "shaming": 1,
    "stereotype": 2,
    "objectification": 3,
    "violence": 4,
},
Downloads last month
15
Safetensors
Model size
0.1B params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support