Instructions to use ifmain/ModerationBERT-En-02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ifmain/ModerationBERT-En-02 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ifmain/ModerationBERT-En-02")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ifmain/ModerationBERT-En-02") model = AutoModelForSequenceClassification.from_pretrained("ifmain/ModerationBERT-En-02") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,6 @@ pipeline_tag: text-classification
|
|
| 12 |
|
| 13 |
**ModerationBERT-ML-En** is a moderation model based on `bert-base-multilingual-cased`. This model is designed to perform text moderation tasks, specifically categorizing text into 18 different categories. It currently works only with English text.
|
| 14 |
|
| 15 |
-
[Check out the new version of the model! Even more accurate and better!](https://huggingface.co/ifmain/open-text-moderation-7)
|
| 16 |
|
| 17 |
## Dataset
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
**ModerationBERT-ML-En** is a moderation model based on `bert-base-multilingual-cased`. This model is designed to perform text moderation tasks, specifically categorizing text into 18 different categories. It currently works only with English text.
|
| 14 |
|
|
|
|
| 15 |
|
| 16 |
## Dataset
|
| 17 |
|