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

omarxadel
/
mt0-base-hs-prefix-tuning

Text Classification
PEFT
Safetensors
English
hate speech
hate speech detection
Model card Files Files and versions
xet
Community

Instructions to use omarxadel/mt0-base-hs-prefix-tuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use omarxadel/mt0-base-hs-prefix-tuning with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSeq2SeqLM
    
    base_model = AutoModelForSeq2SeqLM.from_pretrained("bigscience/mt0-base")
    model = PeftModel.from_pretrained(base_model, "omarxadel/mt0-base-hs-prefix-tuning")
  • Notebooks
  • Google Colab
  • Kaggle
mt0-base-hs-prefix-tuning
1.48 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
omarxadel's picture
omarxadel
Update README.md
4e5ba3c verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.22 kB
    Update README.md over 2 years ago
  • adapter_config.json
    379 Bytes
    Upload model over 2 years ago
  • adapter_model.safetensors
    1.47 MB
    xet
    Upload model over 2 years ago