Instructions to use NbAiLab/nb-roberta-base-scandi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/nb-roberta-base-scandi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="NbAiLab/nb-roberta-base-scandi")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("NbAiLab/nb-roberta-base-scandi") model = AutoModelForMaskedLM.from_pretrained("NbAiLab/nb-roberta-base-scandi") - Notebooks
- Google Colab
- Kaggle
pytorch
Browse files- config.json +2 -2
- pytorch_model.bin +3 -0
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": ".
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": ".",
|
| 3 |
"architectures": [
|
| 4 |
+
"XLMRobertaModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2750c92451f167d9a2b7d65654918db9bf946324f415190bbd8d55c4c33b1ce8
|
| 3 |
+
size 1112242989
|