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

  • Log In
  • Sign Up

NbAiLab
/
nb-bert-base-mnli

Zero-Shot Classification
Transformers
PyTorch
JAX
Safetensors
Norwegian
bert
text-classification
nb-bert
tensorflow
norwegian
Model card Files Files and versions
xet
Community
1

Instructions to use NbAiLab/nb-bert-base-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use NbAiLab/nb-bert-base-mnli with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="NbAiLab/nb-bert-base-mnli")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("NbAiLab/nb-bert-base-mnli")
    model = AutoModelForSequenceClassification.from_pretrained("NbAiLab/nb-bert-base-mnli")
  • Notebooks
  • Google Colab
  • Kaggle
nb-bert-base-mnli
2.14 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 49 commits
versae's picture
versae
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
171cd47 about 3 years ago
  • .gitattributes
    790 Bytes
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • LICENSE
    11.4 kB
    Create LICENSE over 4 years ago
  • README.md
    2.94 kB
    Update README.md over 4 years ago
  • config.json
    1.03 kB
    Release 1.0 (March 11, 2021) about 5 years ago
  • flax_model.msgpack
    711 MB
    xet
    upload flax model almost 5 years ago
  • model.safetensors
    711 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    712 MB
    xet
    Release 1.0 (March 11, 2021) about 5 years ago
  • special_tokens_map.json
    112 Bytes
    Release 1.0 (March 11, 2021) about 5 years ago
  • tokenizer_config.json
    312 Bytes
    Release 1.0 (March 11, 2021) about 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.EvaluationStrategy",
    • "transformers.training_args.TrainingArguments",
    • "torch.device"

    How to fix it?

    2.03 kB
    xet
    Release 1.0 (March 11, 2021) about 5 years ago
  • vocab.txt
    996 kB
    Release 1.0 (March 11, 2021) about 5 years ago