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

prajjwal1
/
albert-base-v2-mnli

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

Instructions to use prajjwal1/albert-base-v2-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use prajjwal1/albert-base-v2-mnli with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="prajjwal1/albert-base-v2-mnli")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("prajjwal1/albert-base-v2-mnli")
    model = AutoModelForSequenceClassification.from_pretrained("prajjwal1/albert-base-v2-mnli", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
albert-base-v2-mnli
1.91 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 22 commits
prajjwal1's picture
prajjwal1
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
8e938e5 about 3 years ago
  • .gitattributes
    399 Bytes
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    479 Bytes
    added bibtex almost 5 years ago
  • cls_embeddings_mnli.pth
    1.82 GB
    xet
    Update cls_embeddings_mnli.pth about 6 years ago
  • config.json
    881 Bytes
    Update config.json about 6 years ago
  • eval_results_mnli-mm.txt
    72 Bytes
    Update eval_results_mnli-mm.txt about 6 years ago
  • eval_results_mnli.txt
    74 Bytes
    Update eval_results_mnli.txt about 6 years ago
  • hans_predictions.txt
    649 kB
    Update hans_predictions.txt about 6 years ago
  • model.safetensors
    46.7 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    46.7 MB
    xet
    Update pytorch_model.bin about 6 years ago
  • special_tokens_map.json
    156 Bytes
    Update special_tokens_map.json about 6 years ago
  • spiece.model
    760 kB
    Update spiece.model about 6 years ago
  • tokenizer_config.json
    25 Bytes
    Update tokenizer_config.json about 6 years ago
  • training_args.bin
    986 Bytes
    xet
    Update training_args.bin about 6 years ago