Downloads · 30 days
22
0% of all-time downloads
NOVA-vision-language/polite_bert
polite_bert is a text classification model from NOVA-vision-language. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
<img src="https://i.imgur.com/y8vqhCs.png" alt="drawing" style="width:300px;"/
Downloads · 30 days
22
0% of all-time downloads
All-time downloads
5.2K
Public
Parameters
109M
876 MB on disk
Likes
3
Public
Click a slice to open those files.
.bin438 MB · 50%
How the weights are stored.
F32109M · 100%
From the Hugging Face model README
Polite Bert is, as the name implies, a BERT model trained to classify a given sentence on a scale of politeness:
Polite Bert was trained by fine-tuning a BERT model on annotated politeness-level data. The model was trained using SFT for 4 epochs, with a batch size 16, and a max sequence length of 128 tokens.
The training data consisted of 2000 annotated sentences. This training data was composed of the following:
Manually annotated data:
Automatically annotated data:
While we manually labelled the first 1000 sentences, the 1000 sentences from 4ChanPol were automatically set to Not Polite.
These source datasets were chosen due to their likelihood of containing distinct, but pronounced, politeness levels (hate speech from 4chan, formal and polite speech from hotel staff and parliament members, etc)
Apache 2.0 license.
Made by Diogo Glória-Silva. PhD Student at NOVA FCT and Affiliated PhD Student at CMU