crabz commited on
Commit
1cc4321
2 Parent(s): 1ef1ab1 cbc8fd4

Merge branch 'main' of https://huggingface.co/spaces/crabz/sk-ner into main

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,9 +93,9 @@ intf = gr.Interface(fn=apply_ner, inputs="text", outputs="html", title='Slovak N
93
  ["Minister financií a líder mandátovo najsilnejšieho hnutia OĽaNO Igor Matovič upozorňuje, že následky tretej vlny budú na Slovensku veľmi veľké."],
94
  ["Začiatkom roka 2021 sa objavili nezhody medzi Richardom Sulíkom a šéfom hnutia OĽANO Igorom Matovičom, ktoré v istej miere pretrvávajú aj dodnes."]],
95
  description="Named-entity recognition (NER) labels named-entities in unstructured text. This implementation supports three labels: person (OSOBA), organization (ORGANIZÁCIA) and location (LOKALITA). You can try out one of the examples below or type your own sentence. Don't forget to use double quotes (\" \") instead of curved quotes („ “).",
96
- article="This model is a fine-tuned version of <u>[gerulata/slovakbert](https://huggingface.co/gerulata/slovakbert)</u> on the Slovak wikiann dataset. "
97
  "It achieves F1 score of 0.9398 on the evaluation set. Note that this also counts background words (no label), so simply labelling all words as background words would yield very high F1. "
98
- "The quote requirements comes from pretrained SlovakBERT and was not introduced by me. More details about he model can be found at <u>[crabz/slovakbert-ner](https://huggingface.co/crabz/slovakbert-ner)</u>.<br/>"
99
  "Some of the examples where the model makes a mistake are listed below: <ul>"
100
  "<li><em>Začiatkom roka 2021 sa objavili nezhody medzi Richardom Sulíkom a šéfom hnutia OĽANO Igorom Matovičom, ktoré v istej miere pretrvávajú aj dodnes.</em> (year classified as location)</li>"
101
  "<li><em>Stretnutia, pri ktorých malo dôjsť k odovzdávaniu peňazí, sa údajne konali vo Výbohovej konzulárnej kancelárii v hoteli Carlton.</em> (<em>Výbohovej</em> is not labeled as person)</li>"
 
93
  ["Minister financií a líder mandátovo najsilnejšieho hnutia OĽaNO Igor Matovič upozorňuje, že následky tretej vlny budú na Slovensku veľmi veľké."],
94
  ["Začiatkom roka 2021 sa objavili nezhody medzi Richardom Sulíkom a šéfom hnutia OĽANO Igorom Matovičom, ktoré v istej miere pretrvávajú aj dodnes."]],
95
  description="Named-entity recognition (NER) labels named-entities in unstructured text. This implementation supports three labels: person (OSOBA), organization (ORGANIZÁCIA) and location (LOKALITA). You can try out one of the examples below or type your own sentence. Don't forget to use double quotes (\" \") instead of curved quotes („ “).",
96
+ article="This model is a fine-tuned version of <u><a href=\"https://huggingface.co/gerulata/slovakbert\" target=\"_blank\">gerulata/slovakbert</a></u> on the Slovak wikiann dataset. "
97
  "It achieves F1 score of 0.9398 on the evaluation set. Note that this also counts background words (no label), so simply labelling all words as background words would yield very high F1. "
98
+ "The quote requirements comes from pretrained SlovakBERT and was not introduced by me. More details about the model can be found at <u><a href=\"https://huggingface.co/crabz/slovakbert-ner\" target=\"_blank\">crabz/slovakbert-ner</a></u>.<br/>"
99
  "Some of the examples where the model makes a mistake are listed below: <ul>"
100
  "<li><em>Začiatkom roka 2021 sa objavili nezhody medzi Richardom Sulíkom a šéfom hnutia OĽANO Igorom Matovičom, ktoré v istej miere pretrvávajú aj dodnes.</em> (year classified as location)</li>"
101
  "<li><em>Stretnutia, pri ktorých malo dôjsť k odovzdávaniu peňazí, sa údajne konali vo Výbohovej konzulárnej kancelárii v hoteli Carlton.</em> (<em>Výbohovej</em> is not labeled as person)</li>"