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

t-bank-ai
/
response-toxicity-classifier-base

Text Classification
Transformers
PyTorch
Russian
bert
russian
pretraining
conversational
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use t-bank-ai/response-toxicity-classifier-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use t-bank-ai/response-toxicity-classifier-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="t-bank-ai/response-toxicity-classifier-base")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("t-bank-ai/response-toxicity-classifier-base")
    model = AutoModelForSequenceClassification.from_pretrained("t-bank-ai/response-toxicity-classifier-base")
  • Notebooks
  • Google Colab
  • Kaggle
response-toxicity-classifier-base
658 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 21 commits
amarkv's picture
amarkv
Update README.md
2efd8b0 over 3 years ago
  • .gitattributes
    1.17 kB
    initial commit about 4 years ago
  • README.md
    2.61 kB
    Update README.md over 3 years ago
  • added_tokens.json
    28 Bytes
    initial commit about 4 years ago
  • config.json
    1.15 kB
    updated model almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    654 MB
    xet
    updated model almost 4 years ago
  • special_tokens_map.json
    163 Bytes
    initial commit about 4 years ago
  • tokenizer.json
    3.01 MB
    updated model almost 4 years ago
  • tokenizer_config.json
    550 Bytes
    updated model almost 4 years ago
  • vocab.txt
    1.4 MB
    initial commit about 4 years ago