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

  • Log In
  • Sign Up

Kanit
/
bert-hateXplain

Text Classification
Transformers
PyTorch
English
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
3

Instructions to use Kanit/bert-hateXplain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Kanit/bert-hateXplain with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Kanit/bert-hateXplain")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Kanit/bert-hateXplain")
    model = AutoModelForSequenceClassification.from_pretrained("Kanit/bert-hateXplain")
  • Notebooks
  • Google Colab
  • Kaggle
bert-hateXplain
17.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Kanit's picture
Kanit
Upload BertForSequenceClassification
7dca1fb almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • config.json
    815 Bytes
    Upload BertForSequenceClassification almost 3 years ago
  • pytorch_model.bin
    17.6 MB
    xet
    Upload BertForSequenceClassification almost 3 years ago