Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

textattack
/
distilbert-base-uncased-MNLI

Text Classification
Transformers
PyTorch
distilbert
Model card Files Files and versions
xet
Community
1

Instructions to use textattack/distilbert-base-uncased-MNLI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use textattack/distilbert-base-uncased-MNLI with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="textattack/distilbert-base-uncased-MNLI")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("textattack/distilbert-base-uncased-MNLI")
    model = AutoModelForSequenceClassification.from_pretrained("textattack/distilbert-base-uncased-MNLI")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-base-uncased-MNLI
268 MB
Ctrl+K
Ctrl+K
History: 15 commits
system's picture
system HF Staff
Update pytorch_model.bin
2cee56e almost 6 years ago
  • .gitattributes
    345 Bytes
    initial commit almost 6 years ago
  • config.json
    639 Bytes
    Update config.json almost 6 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    268 MB
    xet
    Update pytorch_model.bin almost 6 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json almost 6 years ago
  • tokenizer_config.json
    48 Bytes
    Update tokenizer_config.json almost 6 years ago
  • training_args.bin

    Detected Pickle imports (2)

    • "torch.device",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    1.06 kB
    xet
    Update training_args.bin almost 6 years ago
  • vocab.txt
    232 kB
    Update vocab.txt almost 6 years ago