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

  • Log In
  • Sign Up

martin-ha
/
toxic-comment-model

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

Instructions to use martin-ha/toxic-comment-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use martin-ha/toxic-comment-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="martin-ha/toxic-comment-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("martin-ha/toxic-comment-model")
    model = AutoModelForSequenceClassification.from_pretrained("martin-ha/toxic-comment-model")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Adding `safetensors` variant of this model

#13 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#12 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#11 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#10 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#9 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#8 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#7 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#6 opened about 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#5 opened over 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#4 opened over 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#3 opened over 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#2 opened about 3 years ago by
SFconvertbot

Model's bias against certain keywords

2
#1 opened about 3 years ago by
HelenGuo99
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs