12 Downloads Updated 3 weeks ago
ollama run jersobh/epochdb-extractor
Updated 3 weeks ago
3 weeks ago
8ecee05e9289 · 207MB
Fine-tuned GLiNER model for entity extraction in the EpochDB stack.
Base model: urchade/gliner_base
Architecture: Uni-encoder span GLiNER
| Label | Description | Examples |
|---|---|---|
| person | People / agents | Lukas, Alice, Claire |
| organization | Companies / teams | Hive Consulting, BMW Group, Sixt |
| location | Places | Lisboa, Berlin, São Paulo |
| concept | Tech / product concepts | EpochDB, HNSW, Rust, Parquet |
Synthetic training data in English, Portuguese, and German.
from gliner import GLiNER
model = GLiNER.from_pretrained("jersobh/epochdb-extractor")
text = "Lukas deixou a empresa Hive Consulting e agora lidera a equipa de EpochDB em Berlin"
entities = model.predict_entities(
text,
labels=["person", "organization", "location", "concept"],
threshold=0.5,
)
for e in entities:
print(e["text"], "->", e["label"], round(e["score"], 2))
Load with GLiNER.from_pretrained only (not AutoModel / pipeline(“ner”)).
Entity extraction for EpochDB-related text (people, orgs, places, technical concepts) in EN / PT / DE.