Instructions to use NbAiLab/nb-roberta-base-scandinavian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/nb-roberta-base-scandinavian with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="NbAiLab/nb-roberta-base-scandinavian")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("NbAiLab/nb-roberta-base-scandinavian") model = AutoModelForMaskedLM.from_pretrained("NbAiLab/nb-roberta-base-scandinavian", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (2ad9da19dbaa82a1df4439c9a234179002466acb) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>b4edd1d
-
save model script
c581921 -
another attempt
b7ec3b6
-
Update README.md
8823fd6
-
moved model from pere/nb-bert-roberta-base-scandinavian-long
c539a6e -
initial commit
801f7b3