peleiden / daluke

A Danish-speaking language model with entity-aware self-attention
MIT License
9 stars 0 forks source link

Allow batching of NER API predictions #120

Closed sorenmulli closed 3 years ago

sorenmulli commented 3 years ago

JOHAN SEBASTIAN BACH'ED API

Se commit-besked for kontekst

Dette testes f.eks. ved at køre

from daluke import predict_ner, AutoNERDaLUKE
d = AutoNERDALUKE()
predict_ner("Hej med dig", d)
predict_ner(["Hej med dig", "hej med mig"], d)