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

protectai
/
distilroberta-base-rejection-v1

Text Classification
Transformers
ONNX
Safetensors
English
roberta
Generated from Trainer
rejection
no_answer
chatgpt
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use protectai/distilroberta-base-rejection-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use protectai/distilroberta-base-rejection-v1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="protectai/distilroberta-base-rejection-v1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("protectai/distilroberta-base-rejection-v1")
    model = AutoModelForSequenceClassification.from_pretrained("protectai/distilroberta-base-rejection-v1")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
distilroberta-base-rejection-v1
664 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
asofter's picture
asofter
rk404's picture
rk404
Fix import and typo in device (#1)
6558496 verified about 2 years ago
  • onnx
    Add ONNX version of the model over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.25 kB
    Fix import and typo in device (#1) about 2 years ago
  • config.json
    858 Bytes
    Training in progress, epoch 1 over 2 years ago
  • distilroberta-base-rejection-v1_emissions.csv
    809 Bytes
    End of training over 2 years ago
  • emissions.csv
    781 Bytes
    End of training over 2 years ago
  • merges.txt
    456 kB
    Training in progress, epoch 1 over 2 years ago
  • model.safetensors
    328 MB
    xet
    End of training over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Training in progress, epoch 1 over 2 years ago
  • tokenizer.json
    2.11 MB
    Training in progress, epoch 1 over 2 years ago
  • tokenizer_config.json
    1.22 kB
    Training in progress, epoch 1 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.HubStrategy",
    • "torch.device",
    • "transformers.training_args.OptimizerNames",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.utils.dataclasses.DistributedType"

    How to fix it?

    4.66 kB
    xet
    Training in progress, epoch 1 over 2 years ago
  • vocab.json
    798 kB
    Training in progress, epoch 1 over 2 years ago