Instructions to use unitary/toxic-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unitary/toxic-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="unitary/toxic-bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("unitary/toxic-bert") model = AutoModelForSequenceClassification.from_pretrained("unitary/toxic-bert") - Inference
- Notebooks
- Google Colab
- Kaggle
Request: DOI
#7
by InayahMA - opened
Hi,
I am currently working on a dissertation project focused on bias detection in text and am very interested in evaluating and comparing the performance of various models, including your model. I plan to include a comprehensive analysis and will ensure to properly credit your work in my dissertation. Could I have your permission to use your model for this academic purpose?
Thank you for considering my request.
Best regards,
Inayah Maryam Ahmed
Yes, you can definitely use it as it's under the apache license!
unitary changed discussion status to closed