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

samyak159
/
xlmroberta-hate-speech-detection

Text Classification
Transformers
Safetensors
PyTorch
xlm-roberta
hate-speech
multilingual
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use samyak159/xlmroberta-hate-speech-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use samyak159/xlmroberta-hate-speech-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="samyak159/xlmroberta-hate-speech-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("samyak159/xlmroberta-hate-speech-detection")
    model = AutoModelForSequenceClassification.from_pretrained("samyak159/xlmroberta-hate-speech-detection")
  • Notebooks
  • Google Colab
  • Kaggle
xlmroberta-hate-speech-detection
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
samyak159's picture
samyak159
Upload XLMRobertaForSequenceClassification
1c8bde8 verified 10 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 10 months ago
  • README.md
    6.78 kB
    Update README.md 11 months ago
  • config.json
    843 Bytes
    Upload XLMRobertaForSequenceClassification 10 months ago
  • model.safetensors
    1.11 GB
    xet
    Upload XLMRobertaForSequenceClassification 10 months ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload tokenizer 11 months ago
  • special_tokens_map.json
    964 Bytes
    Upload tokenizer 11 months ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer 10 months ago
  • tokenizer_config.json
    1.2 kB
    Upload tokenizer 11 months ago