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

morit
/
toxic_8

Text Classification
Transformers
PyTorch
TensorBoard
bert
Model card Files Files and versions
xet
Metrics Training metrics Community
8

Instructions to use morit/toxic_8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use morit/toxic_8 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="morit/toxic_8")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("morit/toxic_8")
    model = AutoModelForSequenceClassification.from_pretrained("morit/toxic_8")
  • Notebooks
  • Google Colab
  • Kaggle
toxic_8
4.03 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
c5b2318 verified over 1 year ago
  • test
    Upload test with huggingface_hub (#1) over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    21 Bytes
    initial commit over 3 years ago
  • config.json
    938 Bytes
    Upload config.json with huggingface_hub (#2) over 3 years ago
  • model.safetensors
    1.34 GB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.34 GB
    xet
    Upload pytorch_model.bin with huggingface_hub (#3) over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload special_tokens_map.json with huggingface_hub (#4) over 3 years ago
  • tokenizer_config.json
    429 Bytes
    Upload tokenizer_config.json with huggingface_hub (#5) over 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    3.39 kB
    xet
    Upload training_args.bin with huggingface_hub (#6) over 3 years ago
  • vocab.txt
    240 kB
    Upload vocab.txt with huggingface_hub (#7) over 3 years ago