Downloads · 30 days
7
17% of all-time downloads
fgs218ok/WikiEditBias400k_UnBIAS-BERT
WikiEditBias400k_UnBIAS-BERT is a text classification model from fgs218ok. 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.
The UnBIAS-BERT model finetuned on WikiEditBias dataset on the format of edit diff data and 400k samples.
Downloads · 30 days
7
17% of all-time downloads
All-time downloads
41
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
The UnBIAS-BERT model finetuned on WikiEditBias dataset on the format of edit diff data and 400k samples.
For training data, please ref: https://huggingface.co/datasets/fgs218ok/WikiEditBias/viewer/train400k_val2k_test2k_edit_diff
The input should be in diff format:
<old_text>{old_sentence1} ... {old_sentenceN}<new_text>{new_sentence1} ... {new_sentenceN}
For example:
<old_text>He is a boy.<new_text>He is a nice boy.
model = AutoModel.from_pretrained("fgs218ok/WikiEditBias400k_UnBIAS-BERT")
tokenizer = AutoTokenizer.from_pretrained("fgs218ok/WikiEditBias400k_UnBIAS-BERT")
This model achieves the 85.30% accuracy on fgs218ok/WikiEditBias200k dataset:
