
**Release 1.0** (November 17, 2021)

# nb-bert-base-ner

## Description
NB-Bert base model fine-tuned on the Named Entity Recognition task using the [NorNE dataset](https://huggingface.co/datasets/NbAiLab/norne).

## Usage

```python
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline

tokenizer = AutoTokenizer.from_pretrained("NbAiLab/nb-bert-base-ner")
model = AutoModelForTokenClassification.from_pretrained("NbAiLab/nb-bert-base-ner")

nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Jeg heter Kjell og bor i Oslo."

ner_results = nlp(example)
print(ner_results)
```
{"language": false, "license": "cc-by-4.0", "tags": ["norwegian", "bert", "ner"], "datasets": ["norne"], "thumbnail": "nblogo_3.png", "pipeline_tag": "token-classification", "inference": {"parameters": {"aggregation_strategy": "first"}}, "widget": [{"text": "Trond Giske har bekreftet p\u00e5 sp\u00f8rsm\u00e5l fra Adresseavisen at Hansen leide et rom i hans leilighet i Trondheim."}]}
transformers pytorch safetensors bert token-classification norwegian ner no dataset:norne license:cc-by-4.0 autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #pytorch #safetensors #bert #token-classification #norwegian #ner #no #dataset-norne #license-cc-by-4.0 #autotrain_compatible #endpoints_compatible #region-us 


Release 1.0 (November 17, 2021)

# nb-bert-base-ner

## Description
NB-Bert base model fine-tuned on the Named Entity Recognition task using the NorNE dataset.

## Usage


# nb-bert-base-ner ## Description
NB-Bert base model fine-tuned on the Named Entity Recognition task using the NorNE dataset. ## Usage
TAGS
#transformers #pytorch #safetensors #bert #token-classification #norwegian #ner #no #dataset-norne #license-cc-by-4.0 #autotrain_compatible #endpoints_compatible #region-us 
 # nb-bert-base-ner ## Description
NB-Bert base model fine-tuned on the Named Entity Recognition task using the NorNE dataset. ## Usage
passage: TAGS
#transformers #pytorch #safetensors #bert #token-classification #norwegian #ner #no #dataset-norne #license-cc-by-4.0 #autotrain_compatible #endpoints_compatible #region-us 
# nb-bert-base-ner## Description
NB-Bert base model fine-tuned on the Named Entity Recognition task using the NorNE dataset.## Usage