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

Crusadersk
/
quantsafe-refusal-modernbert

Text Classification
Transformers
Safetensors
English
modernbert
refusal
safety
quantization
build-small
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Crusadersk/quantsafe-refusal-modernbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Crusadersk/quantsafe-refusal-modernbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Crusadersk/quantsafe-refusal-modernbert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Crusadersk/quantsafe-refusal-modernbert")
    model = AutoModelForSequenceClassification.from_pretrained("Crusadersk/quantsafe-refusal-modernbert")
  • Notebooks
  • Google Colab
  • Kaggle
quantsafe-refusal-modernbert
602 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Crusadersk's picture
Crusadersk
Document training and evaluation
b34061f verified 26 days ago
  • .gitattributes
    1.52 kB
    initial commit 26 days ago
  • README.md
    1.35 kB
    Document training and evaluation 26 days ago
  • config.json
    1.45 kB
    Upload ModernBertForSequenceClassification 26 days ago
  • metrics.json
    994 Bytes
    Add external XSTest evaluation 26 days ago
  • model.safetensors
    598 MB
    xet
    Upload ModernBertForSequenceClassification 26 days ago
  • special_tokens_map.json
    731 Bytes
    Upload tokenizer 26 days ago
  • tokenizer.json
    3.58 MB
    Upload tokenizer 26 days ago
  • tokenizer_config.json
    21.8 kB
    Upload tokenizer 26 days ago