Hugging Face's logo Hugging Face
    • Models
    • Datasets
    • Pricing
      • Website
        • Metrics
        • Languages
        • Organizations
      • Community
        • Forum
        • Blog
        • GitHub
      • Documentation
        • Model Hub doc
        • Inference API doc
        • Transformers doc
        • Tokenizers doc
        • Datasets doc

    • Log In
    • Sign Up
    • Account
      • Log In
      • Sign Up
    • Website
      • Models
      • Datasets
      • Metrics
      • Languages
      • Organizations
      • Pricing
    • Community
      • Forum
      • Blog
    • Documentation
      • Model Hub doc
      • Inference API doc
      • Transformers doc
      • Tokenizers doc
      • Datasets doc

    's picture valhalla
    /
    distilbart-mnli-12-1

    Zero-Shot Classification
    PyTorch mnli bart text-classification distilbart distilbart-mnli pipeline_tag:zero-shot-classification
    Model card Files and versions

      How to use from the 🤗/transformers library:

                      from transformers import AutoTokenizer, AutoModelForSequenceClassification
        
        tokenizer = AutoTokenizer.from_pretrained("valhalla/distilbart-mnli-12-1")
        
        model = AutoModelForSequenceClassification.from_pretrained("valhalla/distilbart-mnli-12-1")
                  

      Or just clone the model repo

        git lfs install
        git clone https://huggingface.co/valhalla/distilbart-mnli-12-1
        
      # if you want to clone without large files – just their pointers # prepend your git clone with the following env var:
      GIT_LFS_SKIP_SMUDGE=1
      • main
    valhalla/distilbart-mnli-12-1 /
    History: 8 commits
    julien-c's picture
    julien-c
    Migrate model card from transformers-repo 3130dc1 2 months ago
    • .gitattributes 345.0B initial commit 5 months ago
    • README.md 2.3KB Migrate model card from transformers-repo 2 months ago
    • config.json 1.2KB Update config.json 5 months ago
    • merges.txt 445.6KB Update merges.txt 5 months ago
    • pytorch_model.bin 849.2MB Update pytorch_model.bin 5 months ago
    • special_tokens_map.json 772.0B Update special_tokens_map.json 5 months ago
    • tokenizer_config.json 26.0B Update tokenizer_config.json 5 months ago
    • vocab.json 877.8KB Update vocab.json 5 months ago