Text Classification
Transformers
Safetensors
Thai
xlm-roberta
thai
toxicity-detection
hate-speech
nlp
text-embeddings-inference
Instructions to use mashironotdev/thai-toxic-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mashironotdev/thai-toxic-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mashironotdev/thai-toxic-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mashironotdev/thai-toxic-classifier") model = AutoModelForSequenceClassification.from_pretrained("mashironotdev/thai-toxic-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturef852f16 -
Update README.md
Verified signature6eed8a0 -
Upload tokenizer
Verified signature59497ec -
Upload XLMRobertaForSequenceClassification
Verified signaturec9d1770 -
initial commit
Verified signaturee0677eb