Instructions to use KBLab/bert-base-swedish-lowermix-reallysimple-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KBLab/bert-base-swedish-lowermix-reallysimple-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="KBLab/bert-base-swedish-lowermix-reallysimple-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("KBLab/bert-base-swedish-lowermix-reallysimple-ner") model = AutoModelForTokenClassification.from_pretrained("KBLab/bert-base-swedish-lowermix-reallysimple-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Robin Kurtz commited on
Commit ·
d6aa672
1
Parent(s): a1df054
fixed tags
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"0": "EVN",
|
| 15 |
"1": "LOC",
|
| 16 |
"2": "MSR",
|
| 17 |
-
"3": "O",
|
| 18 |
"4": "OBJ",
|
| 19 |
"5": "ORG",
|
| 20 |
"6": "PRS",
|
|
|
|
| 14 |
"0": "EVN",
|
| 15 |
"1": "LOC",
|
| 16 |
"2": "MSR",
|
| 17 |
+
"3": "O",
|
| 18 |
"4": "OBJ",
|
| 19 |
"5": "ORG",
|
| 20 |
"6": "PRS",
|