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

tasksource
/
ModernBERT-base-nli

Zero-Shot Classification
Transformers
Safetensors
English
modernbert
text-classification
instruct
natural-language-inference
nli
mnli
Model card Files Files and versions
xet
Community
1

Instructions to use tasksource/ModernBERT-base-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tasksource/ModernBERT-base-nli with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="tasksource/ModernBERT-base-nli")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("tasksource/ModernBERT-base-nli")
    model = AutoModelForSequenceClassification.from_pretrained("tasksource/ModernBERT-base-nli")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
ModernBERT-base-nli / onnx
1.93 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Xenova's picture
Xenova HF Staff
Upload ONNX weights
563b24c verified over 1 year ago
  • model.onnx
    599 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_bnb4.onnx
    218 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_fp16.onnx
    300 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_int8.onnx
    151 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_q4.onnx
    225 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_q4f16.onnx
    140 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_quantized.onnx
    151 MB
    xet
    Upload ONNX weights over 1 year ago
  • model_uint8.onnx
    151 MB
    xet
    Upload ONNX weights over 1 year ago