m3hrdadfi / icelandic-ner-bert

huggingface.co
Total runs: 14
24-hour runs: 0
7-day runs: 3
30-day runs: 6
Model's Last Updated: May 28 2021
token-classification

Introduction of icelandic-ner-bert

Model Details of icelandic-ner-bert

IcelandicNER BERT

This model was fine-tuned on the MIM-GOLD-NER dataset for the Icelandic language. The MIM-GOLD-NER corpus was developed at Reykjavik University in 2018–2020 that covered eight types of entities:

  • Date
  • Location
  • Miscellaneous
  • Money
  • Organization
  • Percent
  • Person
  • Time
Dataset Information
Records B-Date B-Location B-Miscellaneous B-Money B-Organization B-Percent B-Person B-Time I-Date I-Location I-Miscellaneous I-Money I-Organization I-Percent I-Person I-Time
Train 39988 3409 5980 4351 729 5754 502 11719 868 2112 516 3036 770 2382 50 5478 790
Valid 7063 570 1034 787 100 1078 103 2106 147 409 76 560 104 458 7 998 136
Test 8299 779 1319 935 153 1315 108 2247 172 483 104 660 167 617 10 1089 158
Evaluation

The following tables summarize the scores obtained by model overall and per each class.

entity precision recall f1-score support
Date 0.969466 0.978177 0.973802 779.0
Location 0.955201 0.953753 0.954476 1319.0
Miscellaneous 0.867033 0.843850 0.855285 935.0
Money 0.979730 0.947712 0.963455 153.0
Organization 0.893939 0.897338 0.895636 1315.0
Percent 1.000000 1.000000 1.000000 108.0
Person 0.963028 0.973743 0.968356 2247.0
Time 0.976879 0.982558 0.979710 172.0
micro avg 0.938158 0.938958 0.938558 7028.0
macro avg 0.950659 0.947141 0.948840 7028.0
weighted avg 0.937845 0.938958 0.938363 7028.0
How To Use

You use this model with Transformers pipeline for NER.

Installing requirements
pip install transformers
How to predict using pipeline
from transformers import AutoTokenizer
from transformers import AutoModelForTokenClassification  # for pytorch
from transformers import TFAutoModelForTokenClassification  # for tensorflow
from transformers import pipeline


model_name_or_path = "m3hrdadfi/icelandic-ner-bert" 
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
model = AutoModelForTokenClassification.from_pretrained(model_name_or_path)  # Pytorch
# model = TFAutoModelForTokenClassification.from_pretrained(model_name_or_path)  # Tensorflow

nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Kristin manneskja getur ekki lagt frásagnir af Jesú Kristi á hilluna vegna þess að hún sé búin að lesa þær ."

ner_results = nlp(example)
print(ner_results)
Questions?

Post a Github issue on the IcelandicNER Issues repo.

Runs of m3hrdadfi icelandic-ner-bert on huggingface.co

14
Total runs
0
24-hour runs
2
3-day runs
3
7-day runs
6
30-day runs

More Information About icelandic-ner-bert huggingface.co Model

More icelandic-ner-bert license Visit here:

https://choosealicense.com/licenses/apache-2.0

icelandic-ner-bert huggingface.co

icelandic-ner-bert huggingface.co is an AI model on huggingface.co that provides icelandic-ner-bert's model effect (), which can be used instantly with this m3hrdadfi icelandic-ner-bert model. huggingface.co supports a free trial of the icelandic-ner-bert model, and also provides paid use of the icelandic-ner-bert. Support call icelandic-ner-bert model through api, including Node.js, Python, http.

icelandic-ner-bert huggingface.co Url

https://huggingface.co/m3hrdadfi/icelandic-ner-bert

m3hrdadfi icelandic-ner-bert online free

icelandic-ner-bert huggingface.co is an online trial and call api platform, which integrates icelandic-ner-bert's modeling effects, including api services, and provides a free online trial of icelandic-ner-bert, you can try icelandic-ner-bert online for free by clicking the link below.

m3hrdadfi icelandic-ner-bert online free url in huggingface.co:

https://huggingface.co/m3hrdadfi/icelandic-ner-bert

icelandic-ner-bert install

icelandic-ner-bert is an open source model from GitHub that offers a free installation service, and any user can find icelandic-ner-bert on GitHub to install. At the same time, huggingface.co provides the effect of icelandic-ner-bert install, users can directly use icelandic-ner-bert installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

icelandic-ner-bert install url in huggingface.co:

https://huggingface.co/m3hrdadfi/icelandic-ner-bert

Url of icelandic-ner-bert

icelandic-ner-bert huggingface.co Url

Provider of icelandic-ner-bert huggingface.co

m3hrdadfi
ORGANIZATIONS

Other API from m3hrdadfi

huggingface.co

Total runs: 15
Run Growth: -1
Growth Rate: -6.67%
Updated:August 11 2021
huggingface.co

Total runs: 2
Run Growth: -8
Growth Rate: -400.00%
Updated:April 03 2024