greek-ner-text-wikiann-greekbert
Textual-entity member of the FinNLP 2026 Subtask 1 (GRFinNER) submission's ensemble -- supplies ΠΡΟΣΩΠΟ only, see training data note. Fine-tuned nlpaueb/bert-base-greek-uncased-v1 on WikiANN-Greek.
Labels: ΠΡΟΣΩΠΟ (person) / ΟΡΓΑΝΙΣΜΟΣ (organization) / ΤΟΠΟΘΕΣΙΑ (location)
Usage
import torch
from transformers import AutoModelForTokenClassification, AutoTokenizer
model_id = "paragdakle/greek-ner-text-wikiann-greekbert"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForTokenClassification.from_pretrained(model_id).eval()
text = "Στις 08.11.2019, η ΟΠΑΠ INVESTMENT LTD ήρθε σε συμφωνία..."
enc = tokenizer(text, return_offsets_mapping=True, return_tensors="pt")
offsets = enc.pop("offset_mapping")[0]
with torch.no_grad():
logits = model(**enc).logits
tags = [model.config.id2label[i] for i in logits.argmax(-1)[0].tolist()]
# pair `tags` with `offsets` to recover character-span entities (see the
# submission's ner_utils.encoder_predict for the full decode)
Training data
20,000 sentences from unimelb-nlp/wikiann (config 'el') -- general-domain Greek Wikipedia text, silver-standard (auto-generated from hyperlinks, not hand-annotated). Used because no labeled Greek person/org/location data for the financial-report domain is published anywhere we could find. In the submitted ensemble this model supplies ΠΡΟΣΩΠΟ only -- an ablation showed its ΟΡΓΑΝΙΣΜΟΣ/ΤΟΠΟΘΕΣΙΑ predictions transfer poorly to financial-report text (dropped legal suffixes, missed foreign company names) despite the strong WikiANN-domain score above.
Results
- WikiANN-el held-out validation (10k sentences, general-domain, silver-standard): micro-F1 0.913, macro-F1 0.912 (ΠΡΟΣΩΠΟ 0.935 / ΟΡΓΑΝΙΣΜΟΣ 0.881 / ΤΟΠΟΘΕΣΙΑ 0.919)
- financial-report domain (approx., translate+fuzzy-match against TheFinAI/plutus-finner-text-english), ΠΡΟΣΩΠΟ only (its role in the submitted ensemble): F1 0.919 (up from 0.853 for the LLM-only baseline)
Limitations
- Part of a submitted ensemble, not intended as a standalone SOTA tagger -- see the submission README for how this member is combined with the others.
- Small labeled training pool for the numeric task (320-400 sentences); silver-standard, general-domain data for the WikiANN-based text model.
- Financial-report Greek only (Athens Stock Exchange annual reports); not validated on other registers or domains.