Downloads · 30 days
10
25% of all-time downloads
paragdakle/greek-ner-numeric-greekbert
greek-ner-numeric-greekbert is a token classification model from paragdakle. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
Numeric-entity member of the FinNLP 2026 Subtask 1 (GRFinNUM) submission's ensemble. Fine-tuned nlpaueb/bert-base-greek-uncased-v1 as a token classifier.
Downloads · 30 days
10
25% of all-time downloads
All-time downloads
40
Public
Parameters
112M
449 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors449 MB · 100%
From the Hugging Face model README
Numeric-entity member of the FinNLP 2026 Subtask 1 (GRFinNUM) submission's ensemble. Fine-tuned nlpaueb/bert-base-greek-uncased-v1 as a token classifier.
Labels: ΧΡΗΜΑΤΑ (money) / ΠΟΣΟΣΤΑ (percent) / ΧΡΟΝΙΚΑ (temporal) / ΠΟΣΟΤΗΤΕΣ (quantity) / ΑΛΛΑ (other numeric)
import torch
from transformers import AutoModelForTokenClassification, AutoTokenizer
model_id = "paragdakle/greek-ner-numeric-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)
400 sentences: the public GRFinNUM train (320) + validation (80) splits combined, since the official hidden test set now serves the role validation played during model selection.