Read more about evaluation protocol & datasets in our
paper
.
We suggest using
newer version of this model:
NuNER v2.0
Here is the aggregated performance of the models over several datasets.
k=X means that as training data for this evaluation, we took only X examples for each class, trained the model, and evaluated it on the full test set.
Model
k=1
k=4
k=16
k=64
RoBERTa-base
24.5
44.7
58.1
65.4
RoBERTa-base + NER-BERT pre-training
32.3
50.9
61.9
67.6
NuNER v0.1
34.3
54.6
64.0
68.7
NuNER v1.0
39.4
59.6
67.8
71.5
NuNER v2.0
43.6
61.0
68.2
72.0
NuNER v1.0 has similar performance to 7B LLMs (70 times bigger than NuNER v1.0) created specifically for the NER task.
Model
k=8~16
k=64~128
UniversalNER (7B)
57.89 ± 4.34
71.02 ± 1.53
NuNER v1.0 (100M)
58.75 ± 0.93
70.30 ± 0.35
Usage
Embeddings can be used out of the box or fine-tuned on specific datasets.
Get embeddings:
import torch
import transformers
model = transformers.AutoModel.from_pretrained(
'numind/NuNER-v1.0'
)
tokenizer = transformers.AutoTokenizer.from_pretrained(
'numind/NuNER-v1.0'
)
text = [
"NuMind is an AI company based in Paris and USA.",
"See other models from us on https://huggingface.co/numind"
]
encoded_input = tokenizer(
text,
return_tensors='pt',
padding=True,
truncation=True
)
output = model(**encoded_input)
emb = output.last_hidden_state
Citation
@misc{bogdanov2024nuner,
title={NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Data},
author={Sergei Bogdanov and Alexandre Constantin and Timothée Bernard and Benoit Crabbé and Etienne Bernard},
year={2024},
eprint={2402.15343},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of numind NuNER-v1.0 on huggingface.co
11
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
2
30-day runs
More Information About NuNER-v1.0 huggingface.co Model
NuNER-v1.0 huggingface.co is an AI model on huggingface.co that provides NuNER-v1.0's model effect (), which can be used instantly with this numind NuNER-v1.0 model. huggingface.co supports a free trial of the NuNER-v1.0 model, and also provides paid use of the NuNER-v1.0. Support call NuNER-v1.0 model through api, including Node.js, Python, http.
NuNER-v1.0 huggingface.co is an online trial and call api platform, which integrates NuNER-v1.0's modeling effects, including api services, and provides a free online trial of NuNER-v1.0, you can try NuNER-v1.0 online for free by clicking the link below.
numind NuNER-v1.0 online free url in huggingface.co:
NuNER-v1.0 is an open source model from GitHub that offers a free installation service, and any user can find NuNER-v1.0 on GitHub to install. At the same time, huggingface.co provides the effect of NuNER-v1.0 install, users can directly use NuNER-v1.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.