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

kietnt0603
/
bertweet-base-hate-speech-offensive

Text Classification
Transformers
Safetensors
roberta
Model card Files Files and versions
xet
Community

Instructions to use kietnt0603/bertweet-base-hate-speech-offensive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kietnt0603/bertweet-base-hate-speech-offensive with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="kietnt0603/bertweet-base-hate-speech-offensive")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("kietnt0603/bertweet-base-hate-speech-offensive")
    model = AutoModelForSequenceClassification.from_pretrained("kietnt0603/bertweet-base-hate-speech-offensive")
  • Notebooks
  • Google Colab
  • Kaggle
bertweet-base-hate-speech-offensive
542 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
kietnt0603's picture
kietnt0603
Add model and tokenizer files
ad8a4f2 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • added_tokens.json
    22 Bytes
    Add model and tokenizer files over 2 years ago
  • bpe.codes
    1.08 MB
    Add model and tokenizer files over 2 years ago
  • config.json
    973 Bytes
    Add model and tokenizer files over 2 years ago
  • model.safetensors
    540 MB
    xet
    Add model and tokenizer files over 2 years ago
  • special_tokens_map.json
    167 Bytes
    Add model and tokenizer files over 2 years ago
  • tokenizer_config.json
    1.17 kB
    Add model and tokenizer files over 2 years ago
  • vocab.txt
    843 kB
    Add model and tokenizer files over 2 years ago