Text Classification
Transformers
PyTorch
Safetensors
Northern Sami
Norwegian
English
bert
sami relevant
Instructions to use NbAiLab/nb-bert-base-sami-relevant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/nb-bert-base-sami-relevant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NbAiLab/nb-bert-base-sami-relevant")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NbAiLab/nb-bert-base-sami-relevant") model = AutoModelForSequenceClassification.from_pretrained("NbAiLab/nb-bert-base-sami-relevant", 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.b21d5e0 -
Update README.md
ddecb46 -
Update README.md
ac3cb21
-
Update README.md
1c1bfe6 -
Update README.md
26bf982 -
Update README.md
8b7a670 -
Update config.json
0b989c5 -
Update config.json
d42b66c -
Update config.json
828fbfb -
Create model.txt
afb1625
-
Sami classifier NbAiLab-nb-bert-base_sami_sami_20210531-121715_chunks-200words_pred_e3.0_lr3e-06_wr0.1_wd0.0_s608_st0.75_r1
087648d -
Update README.md
065f6a0 -
initial commit
099e782