Zero-Shot Classification
Transformers
PyTorch
JAX
Safetensors
Norwegian
bert
text-classification
nb-bert
tensorflow
norwegian
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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.32aa4a9
-
Update README.md
086be91
-
Update README.md
Add hypothesis templatef674b2f -
Update README.md
18c34de -
Update README.md
f1217e4 -
Update README.md
c7b3a99 -
Update README.md
40b39d4 -
Update README.md
Add back pipeline_tagc894586 -
Update README.md
Testing widget examples138fe01 -
Update README.md
Change text1d815de -
Update README.md
Add labels199b16f -
Update README.md
Trying zero-shot classification9e184c7
-
Automatic correction of README.md metadata. Contact website@huggingface.co for any question
fb95525
-
Create LICENSE
2bbb288
-
upload flax model
8c6375b -
allow flax
cbe7e13
-
Update README.md
886c555 -
Update README.md
9d56975 -
Update README.md
cbfb291 -
Update README.md
2dcc1ac -
Update README.md
66d0075 -
Update README.md
3ba0393 -
Update README.md
940aced -
Update README.md
367dcff -
Update README.md
a1c7567 -
Update README.md
ac0dde0 -
Update README.md
cec3dec -
Update README.md
67f7c21 -
Update README.md
e6510d0 -
Update README.md
9b8becd -
Update README.md
d016132
-
Update README.md
feecf36 -
Update README.md
167ade1 -
Update README.md
09760b2 -
Update README.md
956c93f -
Update README.md
e06e559 -
Update README.md
0c900a7 -
Update README.md
746a9d8 -
Typos
dfa6cb5 -
Update README.md
5abdd67 -
Update README.md
34ed48d -
Update README.md
0ff7793 -
Update README.md
16d89f8 -
Update README.md
1689e33 -
Update README.md
5babfde -
Update README.md
81f8cc1 -
Release 1.0 (March 11, 2021)
60c98b2 -
Create README
1aefbbf -
initial commit
9a3045c