Downloads · 30 days
27
3% of all-time downloads
seanbenhur/MuLTiGENBiaS
MuLTiGENBiaS is a text classification model from seanbenhur. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as wtfpl.
This is a XLM-Align-Base model trained on CoMMA dataset of 12k samples
Downloads · 30 days
27
3% of all-time downloads
All-time downloads
847
Public
Parameters
279M
4.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin1.1 GB · 25%
How the weights are stored.
F32279M · 100%
From the Hugging Face model README
This is a XLM-Align-Base model trained on CoMMA dataset of 12k samples
import torch
import numpy as np
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
from transformers import set_seed
set_seed(425)
text = "some gender biased text"
pipe = pipeline("text-classification", model="seanbenhur/MuLTiGENBiaS")
def predict_pipe(text):
prediction = pipe(text, return_all_scores=True)[0]
return prediction
if __name__ == "__main__":
target = predict_pipe(text)
print(target)
@article{Benhur2021HypersAC,
title={Hypers at ComMA@ICON: Modelling Aggressiveness, Gender Bias and Communal Bias Identification},
author={Sean Benhur and Roshan Nayak and Kanchana Sivanraju and Adeep Hande and Subalalitha Chinnaudayar Navaneethakrishnan and Ruba Priyadharshini and Bharathi Raja Chakravarthi6},
journal={ArXiv},
year={2021},
volume={abs/2112.15417}
}