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

tasksource
/
ModernBERT-large-nli

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

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="tasksource/ModernBERT-large-nli")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("tasksource/ModernBERT-large-nli")
    model = AutoModelForSequenceClassification.from_pretrained("tasksource/ModernBERT-large-nli", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
ModernBERT-large-nli / onnx
4.69 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
sondalex
Add onnx files
825019b over 1 year ago
  • model.onnx
    1.58 GB
    xet
    Add onnx files over 1 year ago
  • model_bnb4.onnx
    401 MB
    xet
    Add onnx files over 1 year ago
  • model_fp16.onnx
    792 MB
    xet
    Add onnx files over 1 year ago
  • model_int8.onnx
    398 MB
    xet
    Add onnx files over 1 year ago
  • model_q4.onnx
    422 MB
    xet
    Add onnx files over 1 year ago
  • model_q4f16.onnx
    297 MB
    xet
    Add onnx files over 1 year ago
  • model_quantized.onnx
    398 MB
    xet
    Add onnx files over 1 year ago
  • model_uint8.onnx
    398 MB
    xet
    Add onnx files over 1 year ago