Text Classification
Transformers
Safetensors
Māori
distilbert
te-reo
maori
content-moderation
text-embeddings-inference
Instructions to use launchaddict/te-reo-moderator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use launchaddict/te-reo-moderator with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="launchaddict/te-reo-moderator")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("launchaddict/te-reo-moderator") model = AutoModelForSequenceClassification.from_pretrained("launchaddict/te-reo-moderator") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- mi
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: text-classification
|
| 6 |
+
tags:
|
| 7 |
+
- te-reo
|
| 8 |
+
- maori
|
| 9 |
+
- content-moderation
|
| 10 |
+
- text-classification
|
| 11 |
+
widget:
|
| 12 |
+
- text: "Kia ora e te whānau, ka pai tō rā"
|
| 13 |
+
- text: "Ko taku īmēra ko user@example.com"
|
| 14 |
+
- text: "Ka whara ahau i tō whānau"
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Te Reo Moderation Classifier
|
| 18 |
+
|
| 19 |
+
Three-class Te Reo moderation model:
|
| 20 |
+
|
| 21 |
+
- `allow`
|
| 22 |
+
- `review`
|
| 23 |
+
- `block`
|
| 24 |
+
|
| 25 |
+
This model is intended for Te Reo Māori content moderation workflows.
|