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")# 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# This is just a Test Model. Do NOT use for anything!
|
| 2 |
|
| 3 |
Continued pretrained from the nb-roberta-base.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: no
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
tags:
|
| 5 |
+
- norwegian
|
| 6 |
+
- roberta
|
| 7 |
+
pipeline_tag: fill-mask
|
| 8 |
+
widget:
|
| 9 |
+
- text: På biblioteket kan du <mask> en bok.
|
| 10 |
+
- text: Dette er et <mask> eksempel.
|
| 11 |
+
- text: Av og til kan en språkmodell gi et <mask> resultat.
|
| 12 |
+
- text: Som ansat får du <mask> for at bidrage til borgernes adgang til dansk kulturarv, til forskning og til samfundets demokratiske udvikling.
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
# This is just a Test Model. Do NOT use for anything!
|
| 16 |
|
| 17 |
Continued pretrained from the nb-roberta-base.
|