Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ujjawalsah
/
bert-toxicity-classifier

Text Classification
Transformers
Safetensors
bert
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use ujjawalsah/bert-toxicity-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ujjawalsah/bert-toxicity-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ujjawalsah/bert-toxicity-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("ujjawalsah/bert-toxicity-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
bert-toxicity-classifier
438 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
ujjawalsah's picture
ujjawalsah
Update README.md
28cd8e3 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    4.31 kB
    Update README.md 10 months ago
  • config.json
    956 Bytes
    Upload fine-tuned BERT-based toxicity model over 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload fine-tuned BERT-based toxicity model over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    1.27 kB
    Upload tokenizer over 1 year ago
  • vocab.txt
    232 kB
    Upload tokenizer over 1 year ago