Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Narrativa
/
byt5-base-tweet-hate-detection

Transformers
PyTorch
JAX
English
t5
text2text-generation
hate
speech
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use Narrativa/byt5-base-tweet-hate-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Narrativa/byt5-base-tweet-hate-detection with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Narrativa/byt5-base-tweet-hate-detection")
    model = AutoModelForSeq2SeqLM.from_pretrained("Narrativa/byt5-base-tweet-hate-detection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
byt5-base-tweet-hate-detection
4.65 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 13 commits
Narrativa's picture
Narrativa
Update README.md
f064959 over 5 years ago
  • .gitattributes
    736 Bytes
    allow flax over 5 years ago
  • README.md
    3.67 kB
    Update README.md over 5 years ago
  • config.json
    711 Bytes
    Initial commit from mrm8488 over 5 years ago
  • flax_model.msgpack
    2.33 GB
    xet
    upload flax model over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    2.33 GB
    xet
    Initial commit from mrm8488 over 5 years ago
  • special_tokens_map.json
    2.5 kB
    Initial commit from mrm8488 over 5 years ago
  • tokenizer_config.json
    2.85 kB
    Initial commit from mrm8488 over 5 years ago