google/jigsaw_unintended_bias
Updated • 693 • 7
How to use Ashokajou51/NonToxicCivilBert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="Ashokajou51/NonToxicCivilBert") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("Ashokajou51/NonToxicCivilBert")
model = AutoModelForMaskedLM.from_pretrained("Ashokajou51/NonToxicCivilBert")NonToxicCivilBert or 'CivilBert' is a further finetuned model of bert-based-uncased using only the non-toxic data of the Jigsaw-unintended-bias dataset to make the predicted tokens less toxic. We are working further to make this model better and less toxic.