unimelb-nlp/wikiann
Viewer • Updated • 2M • 40.3k • 121
How to use hkaraoguz/BERT_swedish-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hkaraoguz/BERT_swedish-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hkaraoguz/BERT_swedish-ner")
model = AutoModelForTokenClassification.from_pretrained("hkaraoguz/BERT_swedish-ner")YAML Metadata Error:"widget[0]" must be of type object
This model is a fine-tuned version of KB/bert-base-swedish-cased on the wikiann dataset. It achieves the following results on the evaluation set:
Finetuned the model from KB/bert-base-swedish-cased for Swedish NER task. The model can classify three categories:
NER, token classification
wikiann-SV dataset
The following hyperparameters were used during training: