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

  • Log In
  • Sign Up

lisagrace
/
hate_speech_bert

Text Classification
Transformers
Safetensors
Vietnamese
roberta
hatespeech
nlp
text_classification
Model card Files Files and versions
xet
Community

Instructions to use lisagrace/hate_speech_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lisagrace/hate_speech_bert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="lisagrace/hate_speech_bert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("lisagrace/hate_speech_bert")
    model = AutoModelForSequenceClassification.from_pretrained("lisagrace/hate_speech_bert")
  • Notebooks
  • Google Colab
  • Kaggle
hate_speech_bert
542 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
lisagrace's picture
lisagrace
Update README.md
02e22d6 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    215 Bytes
    Update README.md about 2 years ago
  • added_tokens.json
    22 Bytes
    Necessary files to run the model over 2 years ago
  • bpe.codes
    1.14 MB
    Necessary files to run the model over 2 years ago
  • config.json
    1.11 kB
    Necessary files to run the model over 2 years ago
  • model.safetensors
    540 MB
    xet
    Necessary files to run the model over 2 years ago
  • special_tokens_map.json
    167 Bytes
    Necessary files to run the model over 2 years ago
  • tokenizer_config.json
    1.14 kB
    Necessary files to run the model over 2 years ago
  • training_args.bin
    4.54 kB
    xet
    Necessary files to run the model over 2 years ago
  • vocab.txt
    895 kB
    Necessary files to run the model over 2 years ago