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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dima806
/
toxic-comments-classifier-distilbert

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

Instructions to use dima806/toxic-comments-classifier-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dima806/toxic-comments-classifier-distilbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="dima806/toxic-comments-classifier-distilbert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("dima806/toxic-comments-classifier-distilbert")
    model = AutoModelForSequenceClassification.from_pretrained("dima806/toxic-comments-classifier-distilbert")
  • Notebooks
  • Google Colab
  • Kaggle
toxic-comments-classifier-distilbert / checkpoint-15957
1.32 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
dima806's picture
dima806
Upload folder using huggingface_hub
f14c651 over 2 years ago
  • config.json
    794 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • optimizer.pt
    876 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • pytorch_model.bin
    438 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • scheduler.pt
    627 Bytes
    xet
    Upload folder using huggingface_hub over 2 years ago
  • trainer_state.json
    1.94 MB
    Upload folder using huggingface_hub over 2 years ago
  • training_args.bin
    4.03 kB
    xet
    Upload folder using huggingface_hub over 2 years ago