Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mashironotdev
/
thai-toxic-classifier

Text Classification
Transformers
Safetensors
Thai
xlm-roberta
thai
toxicity-detection
hate-speech
nlp
text-embeddings-inference
Model card Files Files and versions
xet
Community

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")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("mashironotdev/thai-toxic-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("mashironotdev/thai-toxic-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
thai-toxic-classifier
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mashironotdev's picture
mashironotdev
Update README.md
f852f16 verified 2 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 2 months ago
  • README.md
    2.54 kB
    Update README.md 2 months ago
  • config.json
    811 Bytes
    Upload XLMRobertaForSequenceClassification 2 months ago
  • model.safetensors
    1.11 GB
    xet
    Upload XLMRobertaForSequenceClassification 2 months ago
  • tokenizer.json
    16.8 MB
    xet
    Upload tokenizer 2 months ago
  • tokenizer_config.json
    313 Bytes
    Upload tokenizer 2 months ago