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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Nelera
/
ru-toxicity-detection

Text Classification
Transformers
Safetensors
Russian
roberta
toxicity
pytorch_lightning
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Nelera/ru-toxicity-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Nelera/ru-toxicity-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Nelera/ru-toxicity-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Nelera/ru-toxicity-detection")
    model = AutoModelForSequenceClassification.from_pretrained("Nelera/ru-toxicity-detection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ru-toxicity-detection
1.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Nelera's picture
Nelera
Update README.md
dd9bb60 verified 17 days ago
  • .gitattributes
    1.52 kB
    initial commit 17 days ago
  • README.md
    1.68 kB
    Update README.md 17 days ago
  • config.json
    815 Bytes
    Upload RobertaForSequenceClassification 17 days ago
  • model.safetensors
    1.62 GB
    xet
    Upload RobertaForSequenceClassification 17 days ago
  • tokenizer.json
    8.84 MB
    Upload tokenizer 17 days ago
  • tokenizer_config.json
    536 Bytes
    Upload tokenizer 17 days ago