metadata
language:
- 'no'
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- wikiann
model-index:
- name: bert-base-multilingual-cased-finetuned-norsk-ner
results: []
bert-base-multilingual-cased-finetuned-norsk-ner
This model is a fine-tuned version of bert-base-multilingual-cased on the wikiann dataset.
Usage
from transformers import pipeline, AutoModelForTokenClassification, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Kushtrim/bert-base-multilingual-cased-finetuned-norsk-ner")
model = AutoModelForTokenClassification.from_pretrained("Kushtrim/bert-base-multilingual-cased-finetuned-norsk-ner")
ner = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy='first')
text = "Sett inn tekst her"
results = ner(text)
pd.DataFrame.from_records(results)